scan_ab1_directory

Function scan_ab1_directory 

Source
pub fn scan_ab1_directory(
    scan_path: PathBuf,
    cache_path: Option<PathBuf>,
    max_age_days: u32,
) -> Vec<SampleSusceptibilityRecord>
Expand description

Walk scan_path recursively, analyse every .ab1 file, and return a SampleSusceptibilityRecord per file sorted reverse-alphabetically by sample_id (highest first).

cache_path — path to the JSON disk cache file; None disables disk caching. max_age_days — files whose creation time is older than this many days are skipped (mirrors the PDF report window). Pass 0 to disable age filtering.