Function readAllDirContents
- readAllDirContents(
dir: string,
__namedParameters: {
excludeList?: readonly (string | RegExp)[];
recursive?: boolean;
},
): Promise<DirContents> Parameters
- dir: string
- __namedParameters: { excludeList?: readonly (string | RegExp)[]; recursive?: boolean }
Read all contents within a directory and store them in an object. Optionally recursive.