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

Method capture_root

atomic-core/src/change/attestation.rs:1039–1042  ·  view source on GitHub ↗

Set the capture evidence root (V4, CB-12A AC3). See [`Attestation::capture_root`] for the canonical construction.

(mut self, root: Hash)

Source from the content-addressed store, hash-verified

1037 /// Set the capture evidence root (V4, CB-12A AC3). See
1038 /// [`Attestation::capture_root`] for the canonical construction.
1039 pub fn capture_root(mut self, root: Hash) -> Self {
1040 self.capture_root = Some(root);
1041 self
1042 }
1043
1044 /// Set the provenance evidence root (V4, CB-12A AC3). See
1045 /// [`Attestation::provenance_root`] for the canonical construction.

Calls

no outgoing calls

Tested by

no test coverage detected