Function normalize_path
pub fn normalize_path(path: &str) -> StringExpand description
Normalize an operation path relative to the operator’s root.
Strip leading /, collapse repeated /, and remove . components.
Preserve all other components verbatim, including whitespace and ...
A trailing / marks a directory and is preserved. A path with no remaining
components becomes /.