pub fn scan( session: &SessionKey, cwd: &Path, roots: &[ScanRoot], budget: usize, ) -> Vec<FileEvent>