Skip to main content

default_order

Function default_order 

Source
pub fn default_order(a: &Path, b: &Path) -> Ordering
Expand description

The default order of kizz.md paths relative to the discovery root.

A directory’s kizz.md comes before every kizz.md in its subdirectories, and sibling directories come in byte order of their names. Plain path sorting would put a/b/kizz.md before a/kizz.md instead.