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.

Functions§

build_pack
Build a v2 packfile containing exactly the objects reachable from wants but not reachable from haves, de-duplicated.
build_pack_for_push
Like build_pack, but uses HaveBoundary::TipsOnly for send-pack pushes.
build_pack_from_send_list
Serialize a precomputed object list into a pack (used by build_pack and filtered bundles).
build_pack_from_send_list_with_parallel_threads
Serialize a precomputed object list with explicit delta-search and write parallelism.
build_pack_from_send_list_with_write_threads
Serialize a precomputed object list with an explicit pack-write worker count.
build_pack_with_parallel_threads
Like build_pack with explicit delta-search and pack-write worker overrides.
build_pack_with_shallow_and_filter
Build a pack for upload-pack with optional shallow grafts and object filter.
build_pack_with_write_threads
Like build_pack with an explicit pack-write worker override for tests and embedders.
reachable_closure
Compute the full object closure reachable from roots, stopping descent into any object already present in stop.
write_upload_pack_stream
Stream a pack for upload-pack: pack reuse when bitmaps allow, otherwise pack-objects.