Expand description
Pack manifests and deterministic .tuffpack artifacts.
Structs§
- Loaded
Pack - A validated source pack rooted at its canonical filesystem directory.
- Loaded
Pack Member - A validated pack member and its loaded capability manifest.
- Pack
Artifact - A fully parsed and verified pack artifact.
- Pack
Artifact Capability - Identity and release metadata for one artifact member.
- Pack
Artifact Content - An artifact-relative path paired with its file bytes.
- Pack
Artifact File - Hash and byte length for one stored artifact file.
- Pack
Artifact Metadata - Canonical metadata stored at the beginning of a pack artifact.
- Pack
Artifact Target - Pre-rendered adapter metadata stored in an artifact.
- Pack
Artifact Target Capability - Lifecycle metadata for one capability rendered to one target.
- Pack
Build - Adapter targets rendered while building a pack.
- Pack
Manifest - Declarative source definition for a versioned capability pack.
- Pack
Member - A local manifest-backed capability included in a pack.
- Project
Pack Selection - Capability IDs selected from the current project’s
tuff.lock.
Constants§
- PACK_
ARTIFACT_ VERSION - Binary artifact format understood by this Tuff release.
- PACK_
MANIFEST_ FILE - Canonical source-pack manifest filename.
- PACK_
SCHEMA_ VERSION - Source-manifest schema understood by this Tuff release.
Functions§
- extract_
prefix - Extracts files below an artifact prefix into a missing or empty directory.
- load_
manifest - Loads and validates only the source-pack manifest and returns its canonical root.
- load_
pack - Loads and validates a source pack from a directory or
tuff-pack.tomlpath. - read_
artifact - Reads and verifies a complete pack artifact.
- read_
artifact_ bytes - Parses and verifies a complete pack artifact already loaded in memory.
- source_
contents - Collects the canonical manifest and declared source files for every pack member.
- validate_
relative_ path - Normalizes a non-empty relative path and rejects traversal or platform prefixes.
- write_
artifact - Writes a deterministic pack artifact and returns its hexadecimal SHA-256 digest.
- write_
manifest - Writes a source pack manifest as deterministic TOML.