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

Function uuid_short

atomic-agent/src/hooks/codex.rs:725–733  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

723}
724
725fn uuid_short() -> String {
726 use std::time::{SystemTime, UNIX_EPOCH};
727
728 let now = SystemTime::now()
729 .duration_since(UNIX_EPOCH)
730 .unwrap_or_default()
731 .as_millis();
732 format!("{:08x}", (now & 0xFFFF_FFFF) as u32)
733}
734
735struct HookDef {
736 event: &'static str,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected