pub fn normalize_path_cow(path: &str) -> Cow<'_, str>
normalize_path without the allocation when there is nothing to do — the case of every scanned file (a normalised directory joined to a name).
normalize_path