Skip to main content

normalize_path_in_place

Function normalize_path_in_place 

Source
pub fn normalize_path_in_place(path: &mut Vec<u8>)
Expand description

Normalize an owned virtual resource path in place.

The buffer is rewritten using the same rules as normalize_path. Its allocation is reused; its length may shrink when leading or repeated separators are removed.