Skip to main content

normalize_path_cow

Function normalize_path_cow 

Source
pub fn normalize_path_cow(path: &str) -> Cow<'_, str>
Expand description

normalize_path without the allocation when there is nothing to do — the case of every scanned file (a normalised directory joined to a name).