Expand description
Metadata types for void repositories.
The metadata bundle maps shard IDs to their CIDs and stores the repo secret used for shard assignment.
Modules§
- manifest_
tree - Indexed tree manifest with O(log N) single-file lookup.
Structs§
- Commit
- Commit object pointing to a metadata bundle.
- Commit
Stats - Quick statistics for commit health verification.
- Manifest
Entry - A single file entry in the tree manifest.
- Metadata
Bundle - Metadata bundle containing shard mappings.
- Shard
Map - Hash-range shard map (sorted, contiguous, full coverage).
- Shard
Range - A contiguous hash-range mapped to a shard.
- Shard
Reference - Reference to a shard in the tree manifest.
Functions§
- hash_
dir_ path_ u64 - Computes a 64-bit hash key for a directory listing.
- hash_
path_ u64 - Computes a 64-bit hash key for a path (file or directory).
- parse_
commit - Parse a commit from decrypted CBOR bytes.