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

    Fast, partial reader for a single bundle. open()/openSync() load the string dictionary + .idx once (a single ranged read of the dictionary section -- no full parse), then every query seeks straight to one package blob on demand. open() additionally decompresses a .br/.gz source into a hash-keyed cache and reuses it on later startups. Implements PackageSignatureSource.

    Implements

    Index

    Properties

    content: SigDbContent | undefined
    index: SigDbIndex
    strings: string[]

    Methods

    • Open a plain, seekable .sigs.ndjson synchronously. Pass index to skip reading the .idx, and strings to use an already-loaded shared dictionary instead of the file's own d section (for a blob-only shard). One ranged read loads the dictionary -- no readline overhead.

      Parameters

      Returns SigDatabase

    • The package that OWNS the class className -- an S3 class (a same-named constructor plus a registered method, see LibraryExports.s3Classes) or an S4 class (exported via exportClasses, see LibraryExports.s4Classes); S3 ownership wins a tie. undefined if none does. Without version, backed by a reverse index over every package's latest version, built once and cached.

      Parameters

      • className: string
      • Optionalversion: string

      Returns string | undefined

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

      Parameters

      Returns 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

    • the transitive callees of a function within one package version, expanding the stored local call graphs

      Parameters

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

      Returns string[] | undefined