Skip to main content

parent_normalized

Function parent_normalized 

Source
pub fn parent_normalized(path: &[u8]) -> Option<&BStr>
Expand description

Return the parent portion of an already-normalized virtual path.

The input is assumed to satisfy is_normalized_path. This is a byte-level virtual path operation; it does not resolve ., .., roots, drive prefixes, URI schemes, or host filesystem rules.