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

Function snapshot

nodedb-array/src/sync/snapshot.rs:277–285  ·  view source on GitHub ↗
(blob_len: usize)

Source from the content-addressed store, hash-verified

275 }
276
277 fn snapshot(blob_len: usize) -> TileSnapshot {
278 TileSnapshot {
279 array: "test".into(),
280 coord_range: range(),
281 tile_blob: vec![0xAB; blob_len],
282 snapshot_hlc: hlc(1000),
283 schema_hlc: hlc(500),
284 }
285 }
286
287 #[test]
288 fn coord_range_roundtrip() {

Callers 15

segFunction · 0.85
fake_segFunction · 0.85
runMethod · 0.85
rewrite_segmentFunction · 0.85

Calls 2

rangeFunction · 0.70
hlcFunction · 0.70