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

Function engine_exposes_references

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

Source from the content-addressed store, hash-verified

772
773 #[test]
774 fn engine_exposes_references() {
775 let txn = MockTxn::new();
776 let store = MemoryChangeStore::new();
777 let engine = SemanticMergeEngine::new(&txn, &store);
778 // Smoke-test that we can access the underlying references.
779 let _t: &MockTxn = engine.txn();
780 let _c: &MemoryChangeStore = engine.change_store();
781 }
782
783 // ---- SemanticMergeEngine: content read failure → NoCrdtData -----------
784

Callers

nothing calls this directly

Calls 2

txnMethod · 0.45
change_storeMethod · 0.45

Tested by

no test coverage detected