Synchronous version of eval.luv.Dir API

Static methods

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

Closes the directory.

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

Opens the directory at the given path for listing.

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

Retrieves a directory entry.

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

Begins directory listing.