Skip to main content

Module pack_objects

Module pack_objects 

Source
Expand description

Pack-objects negotiation and encoding.

Structs§

PackBuildOptions
Options controlling pack-objects output (also used by build_pack).
PackObjects
Streaming pack-objects builder over an Odb.
PackObjectsOptions
Extended options for PackObjects.
PackStats
Counters reported after a successful pack write.
UploadPackStream
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.windowMemory is not set: unlimited windows of large blobs would hold window of them, with their indexes, per search thread.

Functions§

build_pack
Build a v2 packfile containing exactly the objects reachable from wants but not reachable from haves, de-duplicated.
build_pack_from_send_list
Serialize a precomputed object list into a pack (used by build_pack and filtered bundles).
write_pack_for_push
Stream the pack a push sends to w: the objects reachable from wants but not from haves, bounded by the have tips as in [build_pack_for_push].