Expand description
Bounded archive adapter for portable derived graph snapshots.
Structsยง
- Snapshot
Archive ๐Manifest - Strict archive manifest bound to one payload.
- Snapshot
Archive ๐Parts - Bounded entries read from one validated archive shape.
- Snapshot
Archive ๐Signature - Self-contained Ed25519 signature record.
- Snapshot
Export ๐Report - Successful portable archive export.
- Snapshot
Import ๐Report - Successful portable archive import.
Enumsยง
- Snapshot
Signature ๐State - Honest signature handling state for the selected build and request.
Constantsยง
- ARCHIVE_
FORMAT_ ๐VERSION - Stable archive container format version.
- ARCHIVE_
ROOT ๐ - Required top-level archive directory.
- MANIFEST_
PATH ๐ - Required manifest entry path.
- MAX_
ARCHIVE_ ๐ENTRIES - Maximum number of allowed archive entries.
- MAX_
COMPRESSED_ ๐ARCHIVE_ BYTES - Maximum accepted compressed archive size.
- MAX_
MANIFEST_ ๐BYTES - Maximum expanded manifest size.
- MAX_
SIGNATURE_ ๐BYTES - Maximum expanded signature size.
- MAX_
ZSTD_ ๐WINDOW_ LOG - Maximum accepted Zstandard decoder window log.
- PAYLOAD_
PATH ๐ - Required portable graph entry path.
- SIGNATURE_
DOMAIN ๐ - Domain separator for archive signatures.
- SIGNATURE_
PATH ๐ - Optional signature entry path.
Functionsยง
- append_
entry ๐ - Append one deterministic regular-file archive entry.
- decode_
hex_ ๐array - Decode one fixed-size hexadecimal key or signature.
- decode_
nibble ๐ - Decode one hexadecimal nibble.
- encode_
hex ๐ - Encode bytes as lowercase hexadecimal.
- export_
snapshot_ ๐archive - Export one deterministic tar.zst archive without overwriting an existing path.
- import_
snapshot_ ๐archive - Validate one archive completely, then publish through the database boundary.
- invalid ๐
- Return a typed invalid-input error.
- read_
archive ๐ - Read an archive without extracting entries to disk.
- read_
hex_ ๐file - Read one bounded fixed-size hexadecimal key file.
- require_
digest ๐ - Validate a lowercase BLAKE3 hexadecimal digest.
- require_
private_ ๐signing_ key_ permissions - Require a signing key inaccessible to group and other Unix users.
- sign_
archive ๐ - Sign the framed manifest and payload digest.
- signature_
digest ๐ - Compute the domain-separated digest signed by Ed25519.
- usize_
to_ ๐u64 - Convert an in-memory length to the archive count type.
- verify_
archive_ ๐signature - Verify an optional signature and explicit trust policy.