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

Method timestamp

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

1050
1051 /// Set the timestamp (Unix epoch seconds). Defaults to now.
1052 pub fn timestamp(mut self, ts: i64) -> Self {
1053 self.timestamp = Some(ts);
1054 self
1055 }
1056
1057 /// Build the attestation.
1058 pub fn build(self) -> Attestation {

Callers 4

make_attestationFunction · 0.45
test_minimal_roundtripFunction · 0.45
did_attestationFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected