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

Method timestamp

atomic-core/src/change/attestation.rs:642–645  ·  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

640
641 /// Set the timestamp (Unix epoch seconds). Defaults to now.
642 pub fn timestamp(mut self, ts: i64) -> Self {
643 self.timestamp = Some(ts);
644 self
645 }
646
647 /// Build the attestation.
648 pub fn build(self) -> Attestation {

Callers 3

make_attestationFunction · 0.45
test_minimal_roundtripFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected