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

Class DummyTxn

atomic-core/src/pristine/view_graph.rs:637–637  ·  view source on GitHub ↗

We can't easily construct a full GraphTxnT mock here, but we can test the is_visible logic directly.

Source from the content-addressed store, hash-verified

635 // We can't easily construct a full GraphTxnT mock here, but we can
636 // test the is_visible logic directly.
637 struct DummyTxn;
638
639 let vg: ViewGraph<'_, DummyTxn> = ViewGraph {
640 inner: &DummyTxn,

Callers 1

Calls

no outgoing calls

Tested by 1