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

Method previous

atomic-core/src/change/provenance_graph/builder.rs:131–134  ·  view source on GitHub ↗

Set the previous provenance graph hash (for session resume chaining).

(mut self, hash: Hash)

Source from the content-addressed store, hash-verified

129
130 /// Set the previous provenance graph hash (for session resume chaining).
131 pub fn previous(mut self, hash: Hash) -> Self {
132 self.previous = Some(hash);
133 self
134 }
135
136 /// Set the timestamp (Unix epoch seconds). Defaults to now.
137 pub fn timestamp(mut self, ts: i64) -> Self {

Calls

no outgoing calls