Expand description
syntheca — content-addressable storage on top of apotheca. See SPEC.md for the protocol.
BLAKE3 is fixed as the hash function (SPEC §1.1). Three depositum
operations (deposit, get, stat) with verify-on-read defaulting on,
and two pinax operations (get_pinax, set_pinax) surfaced as a
transparent pass-through to apotheca. Multi-cella composition,
alternative hashes, and external configuration are deferred (SPEC §8).
Backends: local-filesystem (default) and S3-compatible (feature
backend-s3), both inherited from apotheca. The local backend stays
dependency-free; the S3 surface forwards to apotheca’s backend-s3.
Structs§
- Cella
- A syntheca cella: an apotheca cella whose deposita are named by the BLAKE3 hash of their bytes (SPEC §1, §2). The underlying cella’s pinax namespace is surfaced unchanged as a convenience pass-through.
- Hash
- Name
- Options
- Construction options for
Cella. SPEC §4. - Stat
- Metadata returned by
stat(SPEC §2.3). The BLAKE3 hash is the input and is not re-reported;sha256is apotheca’s storage digest.
Enums§
- Deposit
Error - GetError
- GetPinax
Error - Hash
Parse Error - Name
Error - SetPinax
Error - SetPinax
Outcome - Outcome of
Cella::set_pinax(SPEC §2.5). - Stat
Error
Type Aliases§
- Digest256
- SHA-256 digest, 32 octets (SPEC §1.5).