Function readDirectoryNamesPathsSafe

  • 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. If the directory does not exist, returns undefined.

    Parameters

    • dirpath: string

      The path of the directory to read.

    Returns Promise<{
        name: string;
        get path(): string;
    }[] | undefined>

Generated using TypeDoc