Skip to main content

split_share

Function split_share 

Source
pub fn split_share(path: &str) -> Option<SharePath>
Expand description

The distro and Linux path of a path on the share: \\wsl.localhost\D\..., \\wsl$\D\..., the \\?\UNC\wsl.localhost\D\... form canonicalize returns, or any of those with / separators (the frontend’s form). None for any other path.