Opendir
[<Interface>]
type Opendir =
abstract member Invoke (path: PathLike, options: OpenDirOptions, cb: Cb2) : unit
abstract member Invoke (path: PathLike, cb: Cb) : unit
abstract member __promisify__ (path: PathLike, ?options: OpenDirOptions) : Promise<Dir>| Assembly | Xantham.Fable.Node |
Declared inside
Cb | |
Cb2 |
Methods
abstract member Invoke (path: PathLike, options: OpenDirOptions, cb: Cb2) : unit
abstract member Invoke (path: PathLike, options: OpenDirOptions, cb: Cb2) : unitAsynchronously open a directory. See the POSIX opendir(3) documentation for more details.
Creates an fs.Dir, which contains all further functions for reading from and cleaning up the directory.
The encoding option sets the encoding for the path while opening the directory and subsequent read operations.
@since v12.12.0
abstract member Invoke (path: PathLike, cb: Cb) : unit
abstract member Invoke (path: PathLike, cb: Cb) : unitAsynchronously open a directory. See the POSIX opendir(3) documentation for more details.
Creates an fs.Dir, which contains all further functions for reading from and cleaning up the directory.
The encoding option sets the encoding for the path while opening the directory and subsequent read operations.
@since v12.12.0
abstract member __promisify__ (path: PathLike, ?options: OpenDirOptions) : Promise<Dir>