DirectoryDelete
Deletes a directory
Method Signature
Arguments
Examples
Related
Last updated
Deletes a directory
Last updated
Argument | Type | Required | Description | Default |
---|---|---|---|---|
path
string
true
the path of the directory to delete
recursive
boolean
true
[default:false] whether to recursively delete the directory. If falls and the directory is not empty, with throw a runtime exception
false