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

Function operation_timestamp_ms

atomic-repository/src/repository/switch.rs:93–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93fn operation_timestamp_ms() -> i64 {
94 std::time::SystemTime::now()
95 .duration_since(std::time::UNIX_EPOCH)
96 .unwrap_or_default()
97 .as_millis()
98 .min(i64::MAX as u128) as i64
99}
100
101#[cfg(unix)]
102fn default_directory_mode() -> u32 {

Callers 1

switch_view_journaledMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected