Skip to main content

scan

Function scan 

Source
pub fn scan(now_secs: u64, ttl_secs: u64) -> Vec<RolloutSummary>
Expand description

Every rollout whose last write is within ttl_secs of now_secs, parsed.

Walks only YYYY/MM/DD depth, so an unrelated file dropped in ~/.codex/sessions costs one read_dir rather than a recursive sweep. Returns newest-first.