Skip to main content

normalize_root

Function normalize_root 

pub fn normalize_root(v: &str) -> String
Expand description

Normalize a service root to / or a path with one leading and trailing /.

Collapse repeated / and remove . components. Preserve all other components verbatim, including whitespace and ...