Deletes a file or a directory. It is an error to attempt to delete a directory that is not empty or the root directory of a filesystem.
Name | Description | Type | Use |
---|---|---|---|
successCallback | A callback that is called on success. |
VoidCallback
|
required |
errorCallback | A callback that is called when errors happen. |
ErrorCallback
|
optional |