pub fn normalize_relative_path(path: &str) -> StringExpand description
Normalize a relative path by resolving . and .. components using path
APIs. Does not touch the filesystem. Always returns forward-slash separated
paths. Preserves leading .. that escape above the root, and preserves an
absolute root/prefix (/foo, C:\foo) verbatim — both indicate graph
escape and must not be silently rewritten into in-graph relative paths.