Expand description
Shard storage for void
Shards are opaque zstd-compressed blobs of concatenated file contents. File indexing is handled by the TreeManifest, not the shard itself. Shards are like filesystem blocks — no headers, no metadata.
Structs§
- Shard
Body - Decompressed shard body for manifest-driven file access.
- Shard
Writer - Builder for creating shards.
Enums§
- Padding
Strategy - Padding strategy for shard sizes.
Constants§
- DEFAULT_
BUCKETS - Default bucket sizes for Buckets padding strategy.
Functions§
- calculate_
padded_ size - Calculates the target padded size for a given data size.
- read_
padding_ info - Reads the padding size from the end of shard data.