pub fn cmp_snapshot_kinds_by_priority(
a: &SnapshotKind,
b: &SnapshotKind,
) -> Ordering
Expand description
Compare snapshot kinds by priority
Full snapshots are higher in priority than incremental snapshots.
If two IncrementalSnapshot
s are compared, their base slots are the tiebreaker.