Skip to main content

cmp_path

Function cmp_path 

Source
pub fn cmp_path(a: &[Seg], b: &[Seg]) -> Ordering
Expand description

Canonical path order (§7.2): segment-wise, indices numerically, names and keys lexicographically, a prefix first.