Skip to main content

strip_verbatim

Function strip_verbatim 

Source
pub fn strip_verbatim(p: &str) -> String
Expand description

\\?\C:\x -> C:\x and \\?\UNC\server\share -> \\server\share (what std::fs::canonicalize returns on Windows); any other path is returned unchanged.