Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
128
fn 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_open
Method · 0.70
Calls
3
now
Function · 0.85
duration_since
Method · 0.80
as_millis
Method · 0.45
Tested by
no test coverage detected