MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / test_timestamp_extraction

Function test_timestamp_extraction

crates/opencode-core/src/id.rs:114–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112
113 #[test]
114 fn test_timestamp_extraction() {
115 let id = create(Prefix::Session, false, Some(1700000000000));
116 let ts = timestamp(&id);
117 assert!(ts.is_some());
118 }
119
120 #[test]
121 fn test_validate_prefix() {

Callers

nothing calls this directly

Calls 2

createFunction · 0.85
timestampFunction · 0.85

Tested by

no test coverage detected