MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / order_consistent

Method order_consistent

document/graph-storage/src/registry.rs:66–84  ·  view source on GitHub ↗

True if the relative timestamp order on every shared timestamped slot agrees across the two registries. Catches LWW-bookkeeping bugs that `value_equal` deliberately ignores. For every pair of shared keys (a, b), checks that `self[a].cmp(self[b])` and `other[a].cmp(other[b])` are compatible: `Equal` on either side is always compatible; otherwise both sides must agree on direction. Equality on one

(&self, other: &Self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

verify_round_tripMethod · 0.80

Calls 5

collect_timestampsFunction · 0.85
getMethod · 0.65
into_iterMethod · 0.45
lenMethod · 0.45
cmpMethod · 0.45

Tested by

no test coverage detected