pub fn normalize_path(str: &str) -> Option<String>
Expand description
Normalizes a /-separated path into a form that contains no leading /, no double /, no “.” segment, no “..” segment.
Returns None if the path would need to start with “..” to be equal.