rune::library::filevercmp

Function order

Source
fn order(s: &[u8], pos: usize) -> i32
Expand description

Return a version sort comparison value for S’s byte at position POS. If POS == LEN, sort before all non-‘~’ bytes.