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

Method timestamp

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

Set the timestamp (Unix epoch seconds). Defaults to now.

(mut self, ts: i64)

Source from the content-addressed store, hash-verified

135
136 /// Set the timestamp (Unix epoch seconds). Defaults to now.
137 pub fn timestamp(mut self, ts: i64) -> Self {
138 self.timestamp = Some(ts);
139 self
140 }
141
142 /// Build the provenance graph.
143 pub fn build(self) -> ProvenanceGraph {

Calls

no outgoing calls