Expand description
Object body codecs for loose-object backends.
Structs§
- Encoded
Tree - Tree
Delta Base - Materialized anchor information inherited from the immediate parent.
- Tree
Lineage - Store metadata needed to keep a future delta in the same bounded epoch. Losing this hint is safe: the next write falls back to a fresh HLR1 anchor.
Enums§
Functions§
- decode_
action - decode_
blob_ content - decode_
state - decode_
tree - decode_
tree_ body - Return the serialized tree body stored in a loose object, decompressing
only the loose-object wrapper. Migration code uses this to decode older
tree schemas without teaching the current
Treereader to accept them. - decode_
tree_ serialized - decode_
tree_ serialized_ with_ key - decode_
tree_ with_ key - Decode any production tree body and validate it against the external key.
HDC1 callers must supply its materialized anchor; canonical and HLR1 bodies
ignore
anchor. - encode_
action - encode_
blob_ content - encode_
state - encode_
tree - encode_
tree_ at_ rest - Heavy, seekable compression for repack/background use only.
- encode_
tree_ hot - Encode the capture hot path. Materialized writes are cheap HLR1 anchors; eligible descendants are cumulative HDC1 deltas against the epoch anchor.