moveDirectory(from_dir_path, to_dir_path, [copy])
Class: SwingUI.
Description:
Moves or copies a directory synchronously. If the destination parent directory doesn't exist, the operation may fail.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
string |
Source directory path |
|
|
|
string |
Destination directory path |
|
|
|
boolean |
false |
Copy instead of move |
Returns:
- Returns true on success, or throws an error on failure
Type: boolean
