| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > FileSystem > deleteFolder
Deletes a folder, including all of its contents. Behind the scenes is uses fs-extra.removeSync()<></>.
Signature:
static deleteFolder(folderPath: string): void;|
Parameter |
Type |
Description |
|---|---|---|
|
folderPath |
string |
The absolute or relative path to the folder which should be deleted. |
Returns:
void
Does not throw if the folderPath does not exist.