issue_tree
    Preparing search index...

    Interface CacheIO

    The cache persistence boundary used by runScan. Injectable so a one-shot scan can run entirely in memory (no disk I/O): the caller supplies a load that hands back a held Cache and a no-op save, then reads the populated object back after the scan resolves. Defaults to diskCacheIO.

    interface CacheIO {
        load: (path: string) => Cache;
        save: (path: string, cache: Cache) => void;
    }
    Index

    Properties

    Properties

    load: (path: string) => Cache

    Return the starting cache for path (a disk read, or a held in-memory object).

    save: (path: string, cache: Cache) => void

    Persist cache for path (a disk write, or a no-op for in-memory scans).