pub fn normalize_path(path: &str) -> Result<String>Expand description
Normalizes separators and ./.. segments in an asset-relative path.
Rejects empty/root paths, absolute paths, drive prefixes, NUL and traversal
above the root. The result uses forward slashes on every platform.