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

Method previous_attestation

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

Set the previous attestation hash (for session resume chaining).

(mut self, hash: Hash)

Source from the content-addressed store, hash-verified

628
629 /// Set the previous attestation hash (for session resume chaining).
630 pub fn previous_attestation(mut self, hash: Hash) -> Self {
631 self.previous_attestation = Some(hash);
632 self
633 }
634
635 /// Set optional notes.
636 pub fn notes(mut self, notes: impl Into<String>) -> Self {

Callers 3

test_is_chained_trueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected