ammonite

ops

package ops

Linear Supertypes
RelPathStuff, Extensions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ops
  2. RelPathStuff
  3. Extensions
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class % extends Dynamic

  2. trait BasePath[ThisType <: BasePath[ThisType]] extends AnyRef

    A path which is either an absolute Path or a relative RelPath, with shared APIs and implementations.

  3. trait BasePathImpl[ThisType <: BasePath[ThisType]] extends BasePath[ThisType]

  4. trait CommandExtender[T, V] extends AnyRef

  5. case class CommandResult(output: Stream[String]) extends Seq[String] with Product with Serializable

  6. trait Extensions extends AnyRef

  7. sealed trait FileType extends AnyRef

  8. class FilterMapExt[+T, Repr] extends AnyRef

    Extends collections to give short aliases for the commonly used operations, so we can make it easy to use from the command line.

  9. class FilterMapExt2[+T] extends AnyRef

    Extends collections to give short aliases for the commonly used operations, so we can make it easy to use from the command line.

  10. class LsSeq extends Seq[Path]

  11. trait Op1[T1, R] extends (T1) ⇒ R

  12. trait Op2[T1, T2, R] extends (T1, T2) ⇒ R

  13. case class Path(segments: Seq[String]) extends BasePathImpl[Path] with Product with Serializable

    An absolute path on the filesystem.

  14. class PermSet extends Set[PosixFilePermission]

  15. class Pipeable[T] extends AnyRef

    Lets you pipe values through functions

  16. class RegexContext extends AnyRef

    Lets you pattern match strings with interpolated glob-variables

  17. case class RelPath(segments: Seq[String], ups: Int) extends BasePathImpl[RelPath] with Product with Serializable

    An absolute path on the filesystem.

  18. implicit class RelPathStart extends AnyRef

    Definition Classes
    RelPathStuff
  19. implicit class RelPathStart2 extends AnyRef

    Definition Classes
    RelPathStuff
  20. trait RelPathStuff extends AnyRef

  21. trait StreamableOp1[T1, R, C <: Seq[R]] extends Op1[T1, C]

    An Op1 that returns a Seq[R], but can also do so lazily (Iterator[R]) via op.!! arg.

  22. implicit class Transformable1 extends AnyRef

  23. implicit class iterShow[T] extends AnyRef

    Definition Classes
    Extensions
  24. case class kill(signal: Int) extends Op1[Int, CommandResult] with Product with Serializable

    Kills the given process with the given signal, e.

  25. case class stat(name: String, size: Long, mtime: FileTime, owner: UserPrincipal, permissions: PermSet, fileType: FileType) extends Product with Serializable

Value Members

  1. object % extends %

    Dynamic shell command execution.

  2. object /

    Extractor to let you easily pattern match on ops.Paths

  3. object BasePath

    Created by haoyi on 1/25/15.

  4. implicit def ChainableConversions[T, T1, V](f: (T) ⇒ V)(implicit i: (T1) ⇒ T): (T1) ⇒ V

    Definition Classes
    Extensions
  5. object CommandExtender

  6. object CommandResult extends Serializable

  7. object Extensions extends Extensions

  8. object FileType

  9. implicit def FilterMapArrays[T](a: Array[T]): FilterMapExt[T, Array[T]]

    Lets you call FilterMapExt aliases on Arrays too

    Lets you call FilterMapExt aliases on Arrays too

    Definition Classes
    Extensions
  10. implicit def FilterMapExt[T, Repr](i: TraversableLike[T, Repr]): FilterMapExt[T, Repr]

    Definition Classes
    Extensions
  11. implicit def FilterMapIterators[T](a: Iterator[T]): FilterMapExt2[T]

    Definition Classes
    Extensions
  12. object Internals

  13. object LsSeq

  14. object OpError

  15. object Path extends (String) ⇒ Path with Serializable

  16. object PathError

  17. object PermSet

  18. implicit def Pipeable[T](t: T): Pipeable[T]

    Definition Classes
    Extensions
  19. object RegexContext

  20. implicit def RegexContextMaker(s: StringContext): RegexContext

    Definition Classes
    Extensions
  21. object RelPath extends RelPathStuff with (String) ⇒ RelPath with Serializable

  22. implicit def SeqFactoryFunc[T, CC[X] <: Seq[X] with GenericTraversableTemplate[X, CC]](s: SeqFactory[CC]): (Seq[T]) ⇒ CC[T]

    Allows you to pipe sequences into other sequences to convert them, e.

    Allows you to pipe sequences into other sequences to convert them, e.g. Seq(1, 2, 3) |> Vector

    Definition Classes
    Extensions
  23. object cp extends Op2[Path, Path, Unit]

    Copies a file or folder from one place to another.

  24. lazy val cwd: Path

    The current working directory for this process.

  25. val empty: RelPath

    Definition Classes
    RelPathStuff
  26. object exists extends Op1[Path, Boolean]

    Checks if a file or folder exists at the given path.

  27. implicit def fileData(p: Path): full

  28. val home: Path

    The user's home directory

  29. object ln extends Op2[Path, Path, Unit]

  30. object ls extends StreamableOp1[Path, Path, LsSeq]

    List the files and folders in a directory

  31. object mkdir extends Op1[Path, Unit]

    Makes directories up to the specified path.

  32. object mv extends Op2[Path, Path, Unit] with Mover

    Moves a file from one place to another.

  33. object read extends Reader with Op1[Path, String]

    Reads a file into memory, either as a String, as (read.

  34. object rm extends Op1[Path, Unit]

    Roughly equivalent to bash's rm -rf.

  35. val root: Path

    The root of the filesystem

  36. object stat extends Op1[Path, stat] with Serializable

  37. val up: RelPath

    Definition Classes
    RelPathStuff
  38. object write extends Op2[Path, Writable, Unit]

    Write some data to a file.

Inherited from RelPathStuff

Inherited from Extensions

Inherited from AnyRef

Inherited from Any

Ungrouped