Skip to main content

strip_unc

Function strip_unc 

Source
pub fn strip_unc(path: PathBuf) -> PathBuf
Expand description

Strip Windows UNC path prefix (\\?\) which canonicalize() adds. Git doesn’t understand UNC paths, so we must strip them.