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

Function timestamp

libatomic/src/daemon/services_provenance.rs:165–167  ·  view source on GitHub ↗
(seconds: i64)

Source from the content-addressed store, hash-verified

163}
164
165fn timestamp(seconds: i64) -> prost_types::Timestamp {
166 prost_types::Timestamp { seconds, nanos: 0 }
167}
168
169fn stored_turn_proto(turn: &StoreTurn) -> StoredProvenanceTurn {
170 use crate::atomic::ProvenanceTurnState as PbState;

Callers 3

stored_turn_protoFunction · 0.70
stop_state_protoFunction · 0.70
attempt_protoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected