Expand description
Segments: the unit of storage below the tar archive layer.
A segment is an immutable chunk of up to 256 KiB identified by a UUID. Data segments carry a header plus typed records; bulk segments are raw block data for large binaries. This module provides the identifier and generation types plus the segment parser.
Re-exports§
pub use generation::GarbageCollectionGeneration;pub use identifier::SegmentIdentifier;pub use identifier::SegmentKind;pub use parsed_segment::MAXIMUM_SEGMENT_SIZE;pub use parsed_segment::ParsedSegment;pub use parsed_segment::RecordTableEntry;pub use record::RecordIdentifier;pub use record::RecordType;pub use view::SegmentView;
Modules§
- generation
- Garbage-collection generation metadata shared across segment-tar layers.
- identifier
- Segment identifiers.
- parsed_
segment - Parsing of segment buffers: header, reference tables, and addressing.
- record
- Record identifiers and record types.
- view
- The segment view: bounds-checked access to one segment’s record data.