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

Function dummy_snapshot

nodedb/tests/array_sync_gc.rs:39–50  ·  view source on GitHub ↗
(array: &str, frontier: Hlc)

Source from the content-addressed store, hash-verified

37}
38
39fn dummy_snapshot(array: &str, frontier: Hlc) -> TileSnapshot {
40 TileSnapshot {
41 array: array.into(),
42 coord_range: CoordRange {
43 lo: vec![CoordValue::Int64(0)],
44 hi: vec![CoordValue::Int64(100)],
45 },
46 tile_blob: vec![0xBB; 8],
47 snapshot_hlc: frontier,
48 schema_hlc: hlc(1, 1),
49 }
50}
51
52// ── Tests ─────────────────────────────────────────────────────────────────────
53

Calls 1

hlcFunction · 0.50

Tested by

no test coverage detected