MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / single_replica_ack

Function single_replica_ack

nodedb/src/control/array_sync/ack_registry.rs:289–293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

287
288 #[test]
289 fn single_replica_ack() {
290 let reg = registry();
291 reg.record("arr", r(1), hlc(100));
292 assert_eq!(reg.min_ack_hlc("arr"), Some(hlc(100)));
293 }
294
295 #[test]
296 fn two_replicas_min_is_lower() {

Callers

nothing calls this directly

Calls 4

registryFunction · 0.85
rFunction · 0.70
hlcFunction · 0.70
recordMethod · 0.45

Tested by

no test coverage detected