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