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

Function engine_exposes_references

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

Source from the content-addressed store, hash-verified

807
808 #[test]
809 fn engine_exposes_references() {
810 let txn = MockTxn::new();
811 let store = MemoryChangeStore::new();
812 let engine = SemanticMergeEngine::new(&txn, &store);
813 // Smoke-test that we can access the underlying references.
814 let _t: &MockTxn = engine.txn();
815 let _c: &MemoryChangeStore = engine.change_store();
816 }
817
818 // ---- SemanticMergeEngine: operational failures propagate ---------------
819

Callers

nothing calls this directly

Calls 2

txnMethod · 0.45
change_storeMethod · 0.45

Tested by

no test coverage detected