pub fn volume_root(path: &Path) -> Option<String>Expand description
The volume root of an absolute Windows path, as DriveInfo wants it:
C:\, never C:\Users\... and never a verbatim \\?\C:\....
Pure and platform-independent so the verbatim form - which is what the
queue stores and what closed the disk gate on every task - is asserted
without a Windows runner. None when there is no drive letter to name: a
UNC share has no DriveInfo of its own, and a caller must say it cannot
measure rather than invent a volume.