klyn.gui.windows.filesystem.FileSystemTree.removePath
method
public removePath(path as Path, recursive as Boolean = true) as Void
Description

Permanently removes an entry and selects its parent. Programmatic calls are explicit operations and do not open a confirmation dialog.

Parameters
ParameterDescription
pathPhysical entry inside the tree, excluding its roots.
recursiveWhether non-empty directories may be removed.
Throws
  • IOException For READ_ONLY, a root or failed removal.
Example
tree.removePath(FilePath(Path.cwd, "obsolete.txt"))