@eagleoutice/flowr - v2.15.8
    Preparing search index...

    Fast, partial reader for a single bundle. open()/openSync() load the string dictionary + .idx once, then every query seeks straight to one package blob; open() additionally decompresses a .br/.gz source into a hash-keyed cache.

    Implements

    Index
    content: SigDbContent | undefined
    index: SigDbIndex
    strings: SigDict
    • load a single package's blob by seeking to its line (undefined if absent); cached by blob index

      Parameters

      • pkg: string

      Returns PkgBlob | undefined

    • recompute this bundle's self-contained content hash from its re-read data (matches writeSignatureDb)

      Parameters

      Returns string

    • drop one decoded blob, for the shared budget to reclaim what it costs (see keepBlob)

      Parameters

      • blobIdx: number

      Returns void

    • The packages exporting name, ordered by downloads (descending, ties by name); answered without a reverse index, since a name the database never stores is rejected outright and only blobs that may hold it are decoded.

      Parameters

      • name: string

      Returns readonly string[]

    • the release date of a package version (defaulting to the newest release), or undefined if unknown

      Parameters

      • pkg: string
      • Optionalversion: string

      Returns Date | undefined

    • Transitive callees of a function within one package version, expanding the stored local call graphs; version defaults to the newest.

      Parameters

      • pkg: string
      • name: string
      • Optionalversion: string

      Returns string[] | undefined