Skip to main content

Module store

Module store 

Source
Expand description

Persist verified packages in ArtifactStore and re-verify from it.

Every file (and the manifest itself) is stored under its BLAKE3 hash. Nothing is stored before the package verifies.

Structs§

StoreSource
Reads package files from an ArtifactStore by hash.
StoredPackage
Result of store_package.

Functions§

store_package
Verify the package in dir, then store its manifest and files.
verify_stored
Load a manifest from store by its artifact hash and verify it, reading every file from the store.
verify_stored_in
verify_stored against a caller-supplied kind registry.