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.

Enums§

PackProgress
Progress hook for long pack builds.

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).
build_pack_with_shallow_and_filter
Build a pack for upload-pack with optional shallow grafts and object filter.
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].
write_upload_pack_stream
Stream a pack for upload-pack: pack reuse when bitmaps allow, otherwise pack-objects.