The store's own byte source; every key no pack answers goes to it.
OptionalmaxHeldBytes?: numberCap on unserved members held (default 4 MB).
Private ReadonlypacksPacked node prefix (with its trailing /) → pack.
Private ReadonlyholdingPacks whose fetch holds unserved members, least recently used first.
PrivateheldReadonlymaxCap on heldBytes; the least recently used pack is let go past it.
ReadonlyinnerThe store's own byte source; every key no pack answers goes to it.
The inner source's identity verbatim — the OPFS bucket must not move.
The inner source's description verbatim (a pack changes how bytes arrive, not what the store is).
Bytes of fetched pack members not yet served (bounded by maxHeldBytes).
Adopt the chunk_packs sidecar's attrs; returns the number of packs used.
An index built for another content_hash is stale and adopts nothing.
Serve key from its node's pack when one is adopted and valid; otherwise read it plainly.
Optionalsignal: AbortSignalOptionaloptions: ChunkSourceGetOptionsPrivatepackThe pack whose node holds name: packs are disjoint subtrees, so at most one.
PrivateheldThe pack's unserved members, fetched again when rel was already served.
PrivatefetchJoin the pack's fetch or start one. The shared fetch's class is raised to this caller's, and follows any later raise of it while the caller waits.
PrivatefetchPrivateholdPrivatetakePrivatereleaseRe-read the source's identity token, bypassing every cache tier, so the
store can tell "same dataset" from "something else now serves this
address". null means the source could not answer — which is not evidence
of a change (see the TTL handling in validateCache).
Release anything the source holds open. Called from the store's dispose.
A ChunkSource that serves every chunk key of a packed node from one fetch of its pack (
chunk_packs/<n>.pack), and every other key, or any key whose pack is missing, stale or fails its digest, from the wrapped source.