Skip to content

Latest commit

 

History

History
64 lines (34 loc) · 1019 Bytes

File metadata and controls

64 lines (34 loc) · 1019 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > FileSystem > deleteFolder

FileSystem.deleteFolder() method

Deletes a folder, including all of its contents. Behind the scenes is uses fs-extra.removeSync()<></>.

Signature:

static deleteFolder(folderPath: string): void;

Parameters

Parameter

Type

Description

folderPath

string

The absolute or relative path to the folder which should be deleted.

Returns:

void

Remarks

Does not throw if the folderPath does not exist.