klyn.gui.windows.filesystem.FileSystemTree.selectPath
method
public selectPath(path as Path) as Boolean
Description

Opens every parent folder and selects and reveals a physical Path. The target folder itself remains in its current expansion state.

Parameters
ParameterDescription
pathFile or directory; relative paths resolve against Path.cwd.
Returns

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.

Throws
  • IOException If a parent directory cannot be enumerated.
Example
tree.selectPath(FilePath(Path.cwd, "README.md"))