MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / timestamp_from_record

Function timestamp_from_record

src/sessions/codex.rs:499–505  ·  view source on GitHub ↗
(record: &Value)

Source from the content-addressed store, hash-verified

497}
498
499fn timestamp_from_record(record: &Value) -> Option<i64> {
500 record
501 .get("timestamp")
502 .and_then(Value::as_str)
503 .and_then(parse_timestamp)
504 .map(|secs| secs as i64)
505}
506
507fn compacted_summary_from_line(
508 record: &Value,

Callers 4

message_from_lineFunction · 0.85
goal_context_from_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected