MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / now_epoch_ms

Function now_epoch_ms

nodedb/src/data/executor/dispatch/array/open.rs:128–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126}
127
128fn now_epoch_ms() -> i64 {
129 std::time::SystemTime::now()
130 .duration_since(std::time::UNIX_EPOCH)
131 .map(|d| d.as_millis() as i64)
132 .unwrap_or(0)
133}

Callers 1

handle_array_openMethod · 0.70

Calls 3

nowFunction · 0.85
duration_sinceMethod · 0.80
as_millisMethod · 0.45

Tested by

no test coverage detected