Skip to main content

clean_path

Function clean_path 

Source
pub fn clean_path<P: AsRef<Path>>(path: P) -> String
Expand description

Helper to strip Windows UNC \\?\ prefix, macOS /private/ prefix, and collapse double slashes.