Skip to main content

Module pack

Module pack 

Source

Structs§

RefUpdateSpec
Compare-and-swap reference update specification passed to quarantine_ingest.

Functions§

build_pack
Builds a thin delta packfile containing objects reachable from wants and not reachable from haves.
quarantine_index_pack
Strictly verifies pack_bytes inside an isolated quarantine object directory via index-pack --strict and promotes the resulting packfile without running repository-wide fsck (safe for freshly initialised git clone directories whose HEAD temporarily points to refs/heads/.invalid).
quarantine_ingest
Ingests pack_bytes into an isolated quarantine object directory, runs strict index-pack, fsck --strict, and object connectivity checks before promoting objects and applying CAS ref updates atomically.