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

Function unknown_array_is_ignored

nodedb/src/control/array_sync/catchup.rs:306–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

304
305 #[test]
306 fn unknown_array_is_ignored() {
307 let (server, delivery, _) = make_server();
308 let _ = delivery.register("s1".into());
309 let req = ArrayCatchupRequestMsg {
310 array: "nonexistent".into(),
311 from_hlc_bytes: Hlc::ZERO.to_bytes(),
312 };
313 // Should not error — just log and return Ok.
314 server.serve(&req, "s1").unwrap();
315 }
316}

Callers

nothing calls this directly

Calls 4

make_serverFunction · 0.85
registerMethod · 0.45
to_bytesMethod · 0.45
serveMethod · 0.45

Tested by

no test coverage detected