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.
Enums§
- Pack
Progress - Progress hook for long pack builds.
Functions§
- build_
pack - Build a v2 packfile containing exactly the objects reachable from
wantsbut not reachable fromhaves, de-duplicated. - build_
pack_ for_ push - Like
build_pack, but usesHaveBoundary::TipsOnlyfor send-pack pushes. - build_
pack_ from_ send_ list - Serialize a precomputed object list into a pack (used by
build_packand 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_packwith 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_packwith 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 instop. - write_
upload_ pack_ stream - Stream a pack for upload-pack: pack reuse when bitmaps allow, otherwise pack-objects.