Packages

  • package root
    Definition Classes
    root
  • package ammonite
    Definition Classes
    root
  • package ops
    Definition Classes
    ammonite
  • object ls extends StreamableOp1[Path, Path, LsSeq] with ImplicitOp[LsSeq]

    List the files and folders in a directory.

    List the files and folders in a directory. Can be called with .iter to return an iterator, or .rec to recursively list everything in subdirectories. .rec is a ls.Walker which means that apart from straight-forwardly listing everything, you can pass in a skip predicate to cause your recursion to skip certain files or folders.

    Definition Classes
    ops
  • Walker
  • iter
  • rec

object rec extends Walker

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. rec
  2. Walker
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. ImplicitOp
  8. StreamableOp1
  9. Function1
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. object iter extends (Path) ⇒ Generator[Path]

    Returns a lazy Iterator instead of an eager sequence of results.

    Returns a lazy Iterator instead of an eager sequence of results.

    Definition Classes
    WalkerStreamableOp1
  2. def !(implicit arg: Path): LsSeq

    Make the common case of looking around the current directory fast by letting the user omit the argument if there's one in scope

    Make the common case of looking around the current directory fast by letting the user omit the argument if there's one in scope

    Definition Classes
    ImplicitOp
  3. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def ##(): Int
    Definition Classes
    AnyRef → Any
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def andThen[A](g: (LsSeq) ⇒ A): (Path) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(skip: (Path) ⇒ Boolean = _ => false, preOrder: Boolean = false): Walker
  8. def apply(arg: Path): LsSeq
    Definition Classes
    StreamableOp1 → Function1
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. def compose[A](g: (A) ⇒ Path): (A) ⇒ LsSeq
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def materialize(src: Path, i: Generator[Path]): LsSeq
    Definition Classes
    WalkerStreamableOp1
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val preOrder: Boolean
    Definition Classes
    Walker
  21. def recursiveListFiles(p: Path): Generator[Path]
    Definition Classes
    Walker
  22. val skip: (Path) ⇒ Boolean
    Definition Classes
    Walker
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Walker

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ImplicitOp[LsSeq]

Inherited from StreamableOp1[Path, Path, LsSeq]

Inherited from (Path) ⇒ LsSeq

Inherited from AnyRef

Inherited from Any

Ungrouped