Synchronous version of eval.luv.Dir API

Static methods

@:inheritDoc(eval.luv.Dir.close)staticclose(dir:Dir):Result<NoData>

Closes the directory.

@:inheritDoc(eval.luv.Dir.open)staticopen(path:NativeString):Result<Dir>

Opens the directory at the given path for listing.

@:inheritDoc(eval.luv.Dir.read)staticread(dir:Dir, ?numberOfEntries:Int):Result<Array<Dirent>>

Retrieves a directory entry.

@:inheritDoc(eval.luv.Dir.scan)staticscan(path:NativeString):Result<DirectoryScan>

Begins directory listing.