ammonite

ops

package ops

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

Type Members

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

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

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

  3. case class Callable1[T1, R](f: (T1) ⇒ R) extends (T1) ⇒ R with Product with Serializable

  4. case class Callable2[T1, T2, R](f: (T1, T2) ⇒ R) extends (T1, T2) ⇒ R with Product with Serializable

  5. case class Command[T](cmd: Vector[String], envArgs: Map[String, String], execute: (Path, Command[_]) ⇒ T, blankCallsOnly: Boolean) extends Dynamic with Product with Serializable

    A staged sub-process command that has yet to be executed.

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

    Wrapper for the Stream[String] of lines returned by a subprocess command, but with a better PPrint that makes it look like one block of text for easy reading

  7. trait Extensions extends AnyRef

  8. sealed trait FileType extends AnyRef

  9. 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.

  10. 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.

  11. trait ImplicitOp[V] extends (Path) ⇒ V

  12. case class LsSeq(base: Path, listed: RelPath*) extends Seq[Path] with Product with Serializable

    A specialized Seq[Path] used to provide better a better pretty-printed experience

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

    An absolute path on the filesystem.

  14. implicit class PathCallable[T] extends ShelloutRoots

  15. class PermSet extends Set[PosixFilePermission]

  16. class Pipeable[T] extends AnyRef

    Lets you pipe values through functions

  17. class RegexContext extends AnyRef

    Lets you pattern match strings with interpolated glob-variables

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

    An absolute path on the filesystem.

  19. implicit class RelPathStart extends AnyRef

    Definition Classes
    RelPathStuff
  20. implicit class RelPathStart2 extends AnyRef

    Definition Classes
    RelPathStuff
  21. trait RelPathStuff extends AnyRef

  22. case class Shellable(s: String) extends Product with Serializable

    An implicit wrapper defining the things that can be "interpolated" directly into a subprocess call.

  23. abstract class ShelloutRoots extends AnyRef

    Dynamic shell command execution.

  24. trait StreamableOp1[T1, R, C <: Seq[R]] extends (T1) ⇒ C

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

  25. implicit class Transformable1 extends AnyRef

  26. implicit class iterShow[T] extends AnyRef

    Definition Classes
    Extensions
  27. case class kill(signal: Int) extends (Int) ⇒ CommandResult with Product with Serializable

    Kills the given process with the given signal, e.

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

Value Members

  1. val %: Command[Int]

    Definition Classes
    ShelloutRoots
  2. val %%: Command[CommandResult]

    Definition Classes
    ShelloutRoots
  3. object /

    Extractor to let you easily pattern match on ops.Paths

  4. object BasePath

    Created by haoyi on 1/25/15.

  5. implicit def Callable1[T1, R](f: (T1) ⇒ R): Callable1[T1, R]

    Definition Classes
    Extensions
  6. implicit def Callable2[T1, T2, R](f: (T1, T2) ⇒ R): Callable2[T1, T2, R]

    Definition Classes
    Extensions
  7. implicit def ChainableConversions[T, T1, V](f: (T) ⇒ V)(implicit i: (T1) ⇒ T): (T1) ⇒ V

    Definition Classes
    Extensions
  8. object CommandResult extends Serializable

  9. object Extensions extends Extensions

  10. object FileType

  11. 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
  12. implicit def FilterMapExt[T, Repr](i: TraversableLike[T, Repr]): FilterMapExt[T, Repr]

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

    Definition Classes
    Extensions
  14. object ImplicitWd

  15. object Internals

  16. object LsSeq extends Serializable

  17. object OpError

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

  19. object PathError

  20. object PermSet

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

    Definition Classes
    Extensions
  22. object RegexContext

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

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

  25. 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
  26. object Shellable extends Serializable

  27. object Shellout

  28. object cp extends (Path, Path) ⇒ Unit

    Copies a file or folder from one place to another.

  29. lazy val cwd: Path

    The current working directory for this process.

  30. val empty: RelPath

    Definition Classes
    RelPathStuff
  31. object exists extends (Path) ⇒ Boolean

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

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

  33. val home: Path

    The user's home directory

  34. object ln extends (Path, Path) ⇒ Unit

  35. object ls extends StreamableOp1[Path, Path, LsSeq] with ImplicitOp[LsSeq]

    List the files and folders in a directory

  36. object mkdir extends (Path) ⇒ Unit

    Makes directories up to the specified path.

  37. object mv extends (Path, Path) ⇒ Unit with Mover

    Moves a file from one place to another.

  38. implicit val postfixOps: postfixOps

  39. object read extends Reader with (Path) ⇒ String

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

  40. object rm extends (Path) ⇒ Unit

    Roughly equivalent to bash's rm -rf.

  41. val root: Path

    The root of the filesystem

  42. object stat extends (Path) ⇒ stat with Serializable

  43. val up: RelPath

    Definition Classes
    RelPathStuff
  44. object write extends (Path, Writable) ⇒ Unit

    Write some data to a file.

Inherited from RelPathStuff

Inherited from Extensions

Inherited from ShelloutRoots

Inherited from AnyRef

Inherited from Any

Ungrouped