public selectPath(path as Path) as Boolean
Opens every parent folder and selects and reveals a physical Path. The target folder itself remains in its current expansion state.
| Parameter | Description |
|---|---|
path | File or directory; relative paths resolve against Path.cwd. |
False for null, missing, linked, special or out-of-root paths. The old selection stays intact on failure, although successfully loaded parent branches remain open. Null does not clear the selection.
tree.selectPath(FilePath(Path.cwd, "README.md"))