public removePath(path as Path, recursive as Boolean = true) as Void
Permanently removes an entry and selects its parent. Programmatic calls are explicit operations and do not open a confirmation dialog.
| Parameter | Description |
|---|---|
path | Physical entry inside the tree, excluding its roots. |
recursive | Whether non-empty directories may be removed. |
tree.removePath(FilePath(Path.cwd, "obsolete.txt"))