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

Class DummyTxn

atomic-core/src/pristine/view_graph.rs:631–631  ·  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

629 // We can't easily construct a full GraphTxnT mock here, but we can
630 // test the is_visible logic directly.
631 struct DummyTxn;
632
633 let vg: ViewGraph<'_, DummyTxn> = ViewGraph {
634 inner: &DummyTxn,

Callers 1

Calls

no outgoing calls

Tested by 1