Skip to main content

Module stored

Module stored 

Source
Expand description

Smart HTTP protocol over an external immutable object/ref catalog. Parsing never grants access: the host authorizes wants, checks common commit IDs, selects a closure and supplies authenticated pack representations separately.

Structs§

Acknowledgments
Feed only host-verified common commit IDs. Sinks may change between calls. The host must not acknowledge private/unreachable IDs or claim an early cut.
Features
Optional wire features supported and authorized by an external catalog host.
Objects
Request
A complete validated control body; storage is borrowed, not copied. Revisit its objects without an object-count array. Bound bytes before parsing it.
ShallowUpdates
A v0/v1 depth probe ends with a flush even without changes; v2 emits a section only for changes in a final response. Errors are terminal.

Enums§

Command
ObjectRequest

Functions§

advertise
pack_chunk
Frame authenticated raw pack bytes, preserving both negotiated sideband limits. The host emits a flush after the pack checksum when band != 0.
peeled_reference
protocol_version
reference
v0/v1 ref projection. The host supplies a stable sorted projection, HEAD first when resolved; first carries capabilities once. None is the empty repository carrier. Symbolic HEAD targets are raw validated ref bytes.