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

Method previous

atomic-core/src/change/provenance_graph/builder.rs:156–159  ·  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

154
155 /// Set the previous provenance graph hash (for session resume chaining).
156 pub fn previous(mut self, hash: Hash) -> Self {
157 self.previous = Some(hash);
158 self
159 }
160
161 /// Set the timestamp (Unix epoch seconds). Defaults to now.
162 pub fn timestamp(mut self, ts: i64) -> Self {

Calls

no outgoing calls