Returns Unix time in milliseconds.
()
| 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<()> { |