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:
| Parameter | Type | Description |
|---|---|---|
| this | void | |
| path | string | Root directory. |
| extensions? | readonly string[] | undefined | Extensions to include. |
| exclude? | readonly string[] | undefined | Patterns to exclude. |
| include? | readonly string[] | undefined | Patterns to include. |
| depth? | number | undefined | Maximum recursion depth. |
Returns: string[] — The matching file paths.