Skip to main content

strip_verbatim

Function strip_verbatim 

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

Remove the \\?\ / //?/ verbatim prefix from a PathBuf. Handles both regular verbatim (\\?\C:\...) and UNC verbatim (\\?\UNC\...).