FileTreeView

sbt.nio.file.FileTreeView
See theFileTreeView companion object
trait FileTreeView[+T]

Provides a view into the file system that allows retrieval of the children of a particular path. Specific implementations may use native library on some platforms to speed up recursive file tree traversal.

Type parameters

T

the type of object returned for each file

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def list(path: Path): Seq[T]

List the contents of a current directory.

List the contents of a current directory.

Value parameters

path

the directory to list

Attributes

Returns

a sequence of values corresponding to each path that is a direct child of the input path. The implementation may throw an IOException if the input path is not a Directory or