Skip to main content

simplified_path

Function simplified_path 

Source
pub fn simplified_path(path: &Path) -> PathBuf
Expand description

Strip Windows verbatim prefix via dunce and return an owned path.

Use for filesystem walks and reads so downstream std::fs calls see a consistent path on all platforms.