normalize_macos_path

Function normalize_macos_path 

Source
fn normalize_macos_path(p: PathBuf) -> PathBuf
Expand description

Normalize macOS firmlink paths: /System/Volumes/Data/Users/… → /Users/… On macOS, / and /System/Volumes/Data are the same volume linked via firmlinks. canonicalize() doesn’t resolve these, causing duplicate directory visits.