Home > @rushstack/node-core-library > FileSystem > readFolderAsync
FileSystem.readFolderAsync() method
Warning: This API is now obsolete.
Use FileSystem.readFolderItemNamesAsync() instead.
Signature:
static readFolderAsync(folderPath: string, options?: IFileSystemReadFolderOptions): Promise<string[]>;
Parameters
Parameter | Type | Description |
---|---|---|
folderPath | string | |
options | IFileSystemReadFolderOptions | (Optional) |
Returns:
Promise<string[]>