Skip to main content

path_key

Function path_key 

Source
fn path_key(path: &Path) -> PathBuf
Expand description

Comparison key for paths: the display form, case-folded on Windows, whose filesystems are case-insensitive. Component-wise starts_with on these is a correct “is inside” test.