LensStudio:FileSystem.readDir
FunctionReturns an array of paths relative to the specified one.
readDir(
path,options):Path[]
Returns an array of paths relative to the specified one.
Options can take a single parameter named recursive (false by default):
fs.readDir(Tests.destDir, {recursive: false});
Parameters
| Parameter | Type |
|---|---|
path | Path |
options | ReadDirOptions |
Returns
Path[]