Skip to main content

normalize_saturating

Function normalize_saturating 

Source
pub fn normalize_saturating<'a>(
    path: Cow<'a, Path>,
    current_dir: &Path,
) -> Cow<'a, Path>
Expand description

Like normalize(), but treats .. components beyond the filesystem root as no-ops.