Expand description
Split Stream file format implementation.
This module implements the Split Stream format for efficiently storing and transferring data with inline content and external object references, supporting compression and content deduplication.
Structsยง
- Digest
Map - A map of content digests to object IDs, maintained in sorted order for binary search.
- Digest
MapEntry - A single entry in the digest map, mapping content SHA256 hash to fs-verity object ID.
- Split
Stream Reader - Reader for parsing split stream format files with inline content and external object references.
- Split
Stream Writer - Writer for creating split stream format files with inline content and external object references.
Enumsยง
- Chunk
Type ๐ - Split
Stream Data - Data fragment from a split stream, either inline content or an external object reference.
Functionsยง
- read_
into_ ๐vec - Using the provided
vecas a buffer, read exactly [size] bytes of content from [reader] into it. Any existing content invecwill be discarded; however its capacity will be reused, making this function suitable for use in loops. - read_
u64_ ๐le