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

Method new

atomic-core/src/pristine/span_patch_storage.rs:1029–1035  ·  view source on GitHub ↗

Verify the closure and content-addressed changes once for this snapshot.

(
        txn: &'a T,
        store: &S,
        visible: &'a EffectiveProjectionClosure,
    )

Source from the content-addressed store, hash-verified

1027impl<'a, T: SpanPatchReadTxn> SpanRenderContext<'a, T> {
1028 /// Verify the closure and content-addressed changes once for this snapshot.
1029 pub fn new<S: ChangeStore>(
1030 txn: &'a T,
1031 store: &S,
1032 visible: &'a EffectiveProjectionClosure,
1033 ) -> Result<Self> {
1034 Self::with_dependency_proof_budget(txn, store, visible, MAX_PROOF_BYTES)
1035 }
1036
1037 /// Set the optional causal-proof budget. Zero uses checked graph walks.
1038 pub fn with_dependency_proof_budget<S: ChangeStore>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected