This library provides access to file I/O. It can only be loaded as a shared library in the REPL with the --lib=fs option. There is no
shared library support in D for Windows.
Methods
(static) readdirSync(path) → {Array.<String>}
Synchronously read a directory.
Parameters:
Name | Type | Description |
---|---|---|
path |
String | A file path |
Returns:
A listing of all files and folders in a given directory.