issue_tree
    Preparing search index...

    Function scanRenderInMemory

    • Scan one or more repos straight into memory and render the result — the cache-free one-shot used by all/auto when no --cache is given. Nothing is read from or written to disk: the scan runs against an in-memory cache (via runScan's cacheIO injection) and the populated object is handed directly to renderLoadedGraph.

      The scan outcome is intentionally ignored — a rate-limit stop still renders whatever was gathered, matching the disk all/auto semantics.

      Parameters

      • repos: string[]

        the target repos ("owner/repo")

      • cmd: ScanRenderOptions

        the shared scan + render fields

      • log: Logger

        the stdout/stderr sink

      • deps: RunScanCommandDeps = {}

        injectable scan engine (tests stub it); omit for the real one

      Returns Promise<number>

      the process exit code (0 on success, 1 on a render error)

      await scanRenderInMemory(['octocat/hello'], cmd, console.log)  // => 0
      

      renderLoadedGraph