klyn.gui.windows.filesystem.FileSystemRoots.selectRoot
method
public selectRoot(root as FolderPath) as Boolean
Description

Selects an available root using normalized Path equality.

Parameters
ParameterDescription
rootRoot to select, not a subdirectory on that root.
Returns

True if found; false for null or an unavailable root. A failed selection leaves the previous selection unchanged.

Example
if roots.rootCount > 0u:
    assert roots.selectRoot(roots.rootAt(0))