Structs§
- Ewah
Bitmap - Multi
Pack Bitmap Pack - Multi
Pack Index - Multi
Pack Index Chunk - Multi
Pack Index Entry - Multi
Pack Index OidLookup - Pack
Bitmap Entry - Pack
Bitmap Index - Pack
Bitmap Type Bitmaps - Pack
Bitmap Writer - Builder that assembles a reachability bitmap (
.bitmap) for a pack. - Pack
Entry - Pack
File - Pack
Index - Pack
Index Build - Pack
Index Entry - Pack
Index Lookup - Pack
Index View - Pack
Index View Data - Pack
Input - Pack
Mtimes - Pack
Object - Pack
Reverse Index - Pack
Verify Stat - Per-object statistics for one entry of a verified pack, in the shape
git verify-pack -vreports. - Pack
Verify Stats - Result of
PackFile::verify_pack_stats: per-object stats in pack offset order plus the pack’s trailing checksum. - Pack
Write - Pack
Write Options - Options controlling sliding-window delta selection during pack generation.
- Repack
Policy
Constants§
- DEFAULT_
PACK_ DEPTH - Default maximum delta chain depth used by
PackFile::write_packed. - DEFAULT_
PACK_ WINDOW - Default sliding-window size used by
PackFile::write_packed.
Traits§
- Header
Type Cache - Memo of
pack offset -> resolved header (end-of-chain type, result size)for thecat-file --batch-checkheader fast path. - Pack
Delta Cache - A cache of objects already decoded from one specific pack, keyed by the in-pack byte offset at which each object’s entry begins.
- Pack
Index Byte Source
Functions§
- pack_
order_ index_ positions - The
.revtable for a pack: index positions (the rank of each object in the oid-sorted.idx) listed in pack order (ascending pack offset), as upstreamwrite_rev_filelays them out. Acceptsentriesin any order; the result feedsPackReverseIndex::write. - read_
object_ at_ arc - Decode the single object stored at byte
offsetwithinpack_bytes, reading only that object and its delta-base chain instead of parsing the whole pack. - read_
object_ at_ with_ cache_ arc - Like
read_object_at_arc, but reuses already-decoded objects fromcache(keyed by in-pack offset) and records every object it decodes. - read_
object_ header_ at - The object type and final (inflated) size of the entry at
offset, without materializing the object body — git’scat-file --batch-checkfast path. - read_
object_ header_ at_ with_ cache - Like
read_object_header_atbut threads a caller-ownedHeaderTypeCachethrough the read so (a) the ofs-delta chain’s end-of-chain type is resolved at most once per chain and (b) a repeated lookup of the same offset returns from the memo without re-inflating (sley#26). The cache is keyed by in-pack offset, so it must be scoped to a single pack’s bytes by the caller. - write_
bitmap - Convenience wrapper that builds a
.bitmapfile in one call.