FileTreeView

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

Companion:
object
class Object
trait Matchable
class Any

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

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