Expand description
Fetching components into the store: OCI / HTTP / local. Network I/O is isolated in thin wrappers; store-assembly logic is offline-testable.
Enums§
- Update
Outcome - Result of an
update.
Functions§
- assemble_
oci - Offline OCI assembly: parse
manifest_bytes, collect config + every layer blob viaget_blob(keyed by hex digest), store verbatim.manifest_digestis the upstream digest (sha256:...). - ensure
- Read-through resolve: return the wasm blob path for
reference, pulling it into the store first if absent. - fetch_
http - Download a
.wasmfromurland store it. Network wrapper. - fetch_
oci - Pull an OCI component (manifest + blobs) and store it verbatim.
- install_
local - Install a component from a local file path as a pinned
localsnapshot (synthesized manifest). Records the source ref asfile://<absolute path>. - pull
- Fetch
referenceinto the store regardless of kind. Local files are installed as pinned snapshots. - store_
http_ bytes - Assemble HTTP provenance from already-downloaded bytes + optional caching headers and store via a synthesized manifest. Offline — no network.
- store_
referrer - Offline: store one referrer’s manifest + blobs against
subject_digest. - update
- Re-resolve
referenceand re-pull if the digest moved.