Skip to main content

scan_dir

Function scan_dir 

Source
pub fn scan_dir(root: &Path, config: &ContextConfig) -> Result<ContextScan>
Expand description

Scan the most recently modified top-level session transcripts below root. Subagent sidechains are excluded, and discovered symlinks are never followed. The caller should run this blocking filesystem work on Tokio’s blocking pool.