deleteDirectory(dir_path, [recursive], [move_to_trash])
Class: SwingUI.
Description:
Deletes a directory synchronously.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
string |
Path to the directory to delete |
|
|
|
boolean |
false |
Delete directory and its contents. (only has effect if |
|
|
boolean |
false |
Move file to trash instead of completely deleting it. |
Returns:
- Returns true on success, or throws error on failure
Type: boolean
