issue_tree
    Preparing search index...

    Function loadCache

    • Load a cache from disk.

      Parameters

      • path: string

        cache file path

      Returns Cache

      the parsed cache, or a fresh empty cache if the file is absent

      Error on malformed JSON ("corrupt cache") or schema mismatch

      loadCache('issue-cache.json').phase  // => 'fetch-repos'  (when the file is absent)