public static roots() as ArrayList<FolderPath>
Lists the filesystem roots exposed by the current operating system.
Windows returns every logical drive known by the system (C:/, D:/, mapped network drives, and so on). Unix-like systems return /. A listed removable drive may still be unavailable when it has no media.
Filesystem roots as directory paths.
import klyn.io
for root in Path.roots():
print(root)