Skip to contents

Resolve an exact release selection, verify it against the live artifact store, and reconstruct every release field from retained bytes. The function treats a supplied VocabularyRelease as a selection descriptor. It never trusts the cached vocabulary fields.

Usage

graft_read_vocabulary(store, release)

Arguments

store

An ArtifactStore returned by graft_store() or graft_store_postgres().

release

A VocabularyRelease, ArtifactSelection, or exact selection digest returned by graft_publish_vocabulary().

Value

A freshly reconstructed VocabularyRelease.