MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / engine_exposes_references

Function engine_exposes_references

atomic-core/src/merge/engine.rs:662–669  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

660
661 #[test]
662 fn engine_exposes_references() {
663 let txn = MockTxn::new();
664 let store = MemoryChangeStore::new();
665 let engine = SemanticMergeEngine::new(&txn, &store);
666 // Smoke-test that we can access the underlying references.
667 let _t: &MockTxn = engine.txn();
668 let _c: &MemoryChangeStore = engine.change_store();
669 }
670
671 // ---- SemanticMergeEngine: content read failure → NoCrdtData -----------
672

Callers

nothing calls this directly

Calls 2

txnMethod · 0.45
change_storeMethod · 0.45

Tested by

no test coverage detected