Expand description
Pack-objects negotiation and encoding.
Structs§
- Pack
Build Options - Options controlling pack-objects output (also used by
build_pack). - Pack
Objects - Streaming pack-objects builder over an
Odb. - Pack
Objects Options - Extended options for
PackObjects. - Pack
Stats - Counters reported after a successful pack write.
- Upload
Pack Stream - The pack one upload-pack response streams: the client’s wants and haves, the shallow boundaries on either side, and an optional partial-clone filter.
Constants§
- SERVE_
WINDOW_ MEMORY - The delta-search window cap a served fetch uses when
pack.windowMemoryis not set: unlimited windows of large blobs would holdwindowof them, with their indexes, per search thread.
Functions§
- build_
pack - Build a v2 packfile containing exactly the objects reachable from
wantsbut not reachable fromhaves, de-duplicated. - build_
pack_ from_ send_ list - Serialize a precomputed object list into a pack (used by
build_packand filtered bundles). - write_
pack_ for_ push - Stream the pack a push sends to
w: the objects reachable fromwantsbut not fromhaves, bounded by the have tips as in [build_pack_for_push].