FileSystemManager.rmdir
JS
FileSystemManager.rmdir(Object object)Remove a directory
Parameters
- Object object: Input parameters; see the table below for details
Properties of object:
| Property | Type | Required | Description |
|---|---|---|---|
| dirPath | Object | Yes | Path of the directory to remove |
| recursive | boolean | false | Whether to remove the directory recursively. If true, removes the directory along with all its subdirectories and files |
| success | function | No | Callback function when the call succeeds |
| fail | function | No | Callback function when the call fails |
| complete | function | No | Callback function when the call completes |
