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

Function uuid_short

atomic-agent/src/hooks/grok.rs:429–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

427}
428
429fn uuid_short() -> String {
430 use std::time::{SystemTime, UNIX_EPOCH};
431 let now = SystemTime::now()
432 .duration_since(UNIX_EPOCH)
433 .unwrap_or_default()
434 .as_millis();
435 format!("{:08x}", (now & 0xFFFF_FFFF) as u32)
436}
437
438// Tests
439

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected