Protectedclassreverse index S3 class -> owning package, over every package's latest version; built once (see classOwner)
ReadonlycontentReadonlyindexStaticfromUse an already-built SigDb directly, no file involved: its blobs start out in the cache, so a test needs only SigDbBuilder plus this.
Staticopenopen a .sigs.ndjson, .br or .gz; compressed sources are decompressed into a hash-keyed cache once
StaticopenOpen a plain, seekable .sigs.ndjson synchronously (one ranged read, no readline overhead). Pass index to
skip reading the .idx, and strings to use an already-loaded shared dictionary (for a blob-only shard).
StaticopenLike open but fully synchronous (blocking decompression); a hash keys the cache when source
is compressed. Pass strings for a blob-only shard that shares an already-loaded dictionary.
read every unique package blob in index order (used to re-hash a whole shard during verification)
whether the latest version of the package is CRAN-archived (its source tarball then lives under Archive)
load a single package's blob by seeking to its line (undefined if absent); cached by blob index
The classes a package version declares and the relations between them (superclasses, slot types, virtual,
union) -- LibraryExports.s4Classes, a flat name list, has nowhere to hang this; version defaults to the newest.
Optionalversion: stringThe package OWNING class className (S3: LibraryExports.s3Classes; S4: LibraryExports.s4Classes;
S3 wins ties). With a version, every candidate package is scanned at it instead of using the cached reverse index.
Optionalversion: stringclose the underlying file descriptor (idempotent; safe to call more than once)
recompute this bundle's self-contained content hash from its re-read data (matches writeSignatureDb)
the R versions a base package was part of core, ascending (exactly its stored versions); undefined for a non-base package
Declared dependencies (Depends, Imports, ...) of a package version, with version qualifiers; version defaults to the newest.
Optionalversion: stringthe download count recorded for the package, 0 when this source does not carry it
drop one decoded blob, for the shared budget to reclaim what it costs (see keepBlob)
The rich view of a single named function, decoding only it (unlike functions); version defaults to the newest.
Optionalversion: stringRich per-function view (signatures and call graphs) of a package version; version defaults to the newest.
Optionalversion: stringwhether this bundle actually carries the given version of a package (not just the package)
Protectedhistorywhether this is an R-core / base package (its versions are the R releases it shipped with; see SigDbPkgMeta)
whether a version is a current CRAN release (i.e. not in the package's noncran/removed set)
the version a package's latest stands for, see newestVersion
The export view of a package version; version defaults to the database's newest if omitted.
Optionalversion: stringThe native (C, C++, Fortran) routines of a package version with their tool-derived facts (see
SigNativeRoutineInfo); version defaults to the newest. Optional: a source without them leaves it out.
Optionalversion: stringevery package name this source can resolve
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.
Protectedrecordedthe latest version the metadata records, undefined when this source carries no metadata for the package
the release date of a package version (defaulting to the newest release), or undefined if unknown
Optionalversion: stringevery known release date of a package, in ascending R-version order (empty when no dates were stored)
the repository a version came from, undefined in bundles that record none
Transitive callees of a function within one package version, expanding the stored local call graphs; version defaults to the newest.
Optionalversion: string
Fast, partial reader for a single bundle.
open()/openSync()load the string dictionary +.idxonce, then every query seeks straight to one package blob;open()additionally decompresses a.br/.gzsource into a hash-keyed cache.