Skip to main content

Module metadata

Module metadata 

Source
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.
CommitStats
Quick statistics for commit health verification.
ManifestEntry
A single file entry in the tree manifest.
MetadataBundle
Metadata bundle containing shard mappings.
ShardMap
Hash-range shard map (sorted, contiguous, full coverage).
ShardRange
A contiguous hash-range mapped to a shard.
ShardReference
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.