public selectRoot(root as FolderPath) as Boolean
Selects an available root using normalized Path equality.
| Parameter | Description |
|---|---|
root | Root to select, not a subdirectory on that root. |
True if found; false for null or an unavailable root. A failed selection leaves the previous selection unchanged.
if roots.rootCount > 0u:
assert roots.selectRoot(roots.rootAt(0))