Skip to main content

Module pack_write

Module pack_write 

Source
Expand description

Pack and index installation helpers.

Structs§

InstallPackOptions
Options controlling install_pack_stream.
PackIndexWriteEntry
One (object id, pack offset) entry used when writing a v2 index.

Functions§

enumerate_whole_pack_entries
Scan a pack containing only whole (non-delta) objects and return sorted index entries.
install_pack_stream
Install pack under objects_dir/pack/ and write the matching v2 .idx.
pack_index_v2_offset_tables
Build the v2 index 32-bit offset column and optional 64-bit large-offset table.
whole_pack_uncompressed_size
Uncompressed payload size of all whole objects in pack.
write_pack_index_v2
Write a version-2 pack index for pack_path using precomputed entries.