Skip to main content

sort_py

Function sort_py 

Source
pub fn sort_py(paths: &mut [PathBuf])
Expand description

Sort paths the way Python sorts Path objects: by their string form. PathBuf’s own Ord compares component-wise, which can differ when a name contains a byte below /.