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

Function open_store

nodedb/tests/graph_temporal_algos.rs:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14const COLL: &str = "g";
15
16fn open_store() -> (EdgeStore, tempfile::TempDir) {
17 let dir = tempfile::tempdir().unwrap();
18 let store = EdgeStore::open(&dir.path().join("graph.redb")).unwrap();
19 (store, dir)
20}
21
22#[test]
23fn snapshot_topology_differs_across_ordinals() {

Calls 3

joinMethod · 0.80
openFunction · 0.70
pathMethod · 0.45

Tested by

no test coverage detected