Skip to main content

normalize_path_owned

Function normalize_path_owned 

Source
pub fn normalize_path_owned(path: Vec<u8>) -> Vec<u8> 
Expand description

Normalize an owned virtual resource path, reusing its allocation.

This is a convenience for callers that already own a byte buffer and do not need to preserve the original spelling. It has the same normalization rules as normalize_path.