MCPcopy Create free account
hub / github.com/base/base / now

Method now

acceptance/src/cli.rs:420–422  ·  view source on GitHub ↗

Returns Unix time in milliseconds.

()

Source from the content-addressed store, hash-verified

418
419 /// Returns Unix time in milliseconds.
420 pub fn now() -> u64 {
421 SystemTime::now().duration_since(UNIX_EPOCH).unwrap_or_default().as_millis() as u64
422 }
423
424 /// Copies referenced evidence when rendering an existing portable result.
425 pub fn copy_report_evidence(result: &Path, output: &Path, run: &RunResult) -> Result<()> {

Callers 1

render_reportFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected