Skip to main content

derive_session_time

Function derive_session_time 

Source
pub fn derive_session_time(name: &str, mtime_ms: u64) -> u64
Expand description

The “when was this session last active” rule, in one place so the store and its callers cannot drift: a legacy <tag>-<micros> name carries its own creation time, and everything else falls back to the transcript’s mtime.