pub fn compare_path<A: AsRef<Path>, B: AsRef<Path>>(a: A, b: B) -> OrderingAvailable on crate feature
std only.Expand description
Compare two Path.
The alphanumeric algorithm is used only when both paths can be converted to UTF-8
through their OsStr representations. If either path cannot be converted, this
falls back to the native OsStr ordering.