Skip to content

OverExposureFileSystem.readDirectory method

OverExposureFileSystem › readDirectory

Signature:

readDirectory(this: void, path: string, extensions?: readonly string[] | undefined, exclude?: readonly string[] | undefined, include?: readonly string[] | undefined, depth?: number | undefined): string[]

Parameters:

ParameterTypeDescription
thisvoid
pathstringRoot directory.
extensions?readonly string[] | undefinedExtensions to include.
exclude?readonly string[] | undefinedPatterns to exclude.
include?readonly string[] | undefinedPatterns to include.
depth?number | undefinedMaximum recursion depth.

Returns: string[]The matching file paths.