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

Function known_arrays

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

Source from the content-addressed store, hash-verified

310
311 #[test]
312 fn known_arrays() {
313 let reg = registry();
314 reg.record("a", r(1), hlc(10));
315 reg.record("b", r(1), hlc(20));
316 let mut arrays = reg.known_arrays();
317 arrays.sort();
318 assert_eq!(arrays, vec!["a", "b"]);
319 }
320}

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected