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

Method new

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

Create a new view-scoped graph wrapper. # Arguments `inner` - The underlying transaction implementing `GraphTxnT` `visibility` - Validated dependency closure whose edges are visible

(inner: &'a T, visibility: GraphVisibilityClosure)

Source from the content-addressed store, hash-verified

55 /// * `inner` - The underlying transaction implementing `GraphTxnT`
56 /// * `visibility` - Validated dependency closure whose edges are visible
57 pub fn new(inner: &'a T, visibility: GraphVisibilityClosure) -> Self {
58 Self { inner, visibility }
59 }
60
61 /// Get a reference to the inner transaction.
62 pub fn inner(&self) -> &T {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected