readDirectoryNamesPaths(dirpath): Promise<{ name: string; get path(): string; }[]>
Reads the names of all FSO's (files/directories/etc.) in a directory.
Each FSO's full 'path' is available as a lazy-evaluated getter property on the returned object.
Parameters
dirpath: string
The path of the directory to read.
Returns Promise<{ name: string; get path(): string; }[]>
Reads the names of all FSO's (files/directories/etc.) in a directory. Each FSO's full 'path' is available as a lazy-evaluated getter property on the returned object.