pub fn share_of(path: &Path) -> Option<SharePath>Expand description
split_share where the share exists, on Windows; None elsewhere, where
//wsl.localhost/... is an ordinary path and the Windows rules for it are
the only ones. Every rule that treats a share path differently goes through
this.