klyn.gui.windows.filesystem.FileSystemRoots.rootAt
method
public rootAt(index as Long) as FolderPath
Description

Returns a root without changing the selection.

Parameters
ParameterDescription
indexZero-based index in the current snapshot.
Returns

Filesystem root at that index.

Throws
  • IndexException If the index is outside [0, rootCount).
Example
if roots.rootCount > 0u:
    print(roots.rootAt(0))