Skip to main content

Module bitmap

Module bitmap 

Source
Expand description

Pack and commit reachability bitmaps.

Structs§

BitmapIndex
Memory-mapped pack or MIDX reachability bitmap (Git BITM v1).
BitmapIndexCache
Repository-scoped cache slot for BitmapIndex::open.
BitmapWalkUnsupported
Bitmap walk could not run (unsupported filter or shallow repo); use a non-bitmap walk instead.
CommitReachabilityBitmap
Decoded reachability set for one commit (bits index pack/MIDX object positions).
MidxBitmapWriter
Writes .bitmap sidecars for multi-pack-index files (MIDX checksum in header).
PackBitmapWriteOptions
Options controlling pack bitmap generation (caller-supplied; not read from the environment).
PackBitmapWriter
Writes .bitmap sidecars for pack indexes produced by all-into-one repacks.
ReachabilityQuery
Query parameters for a bitmap reachability walk.
ReachableSet
Reachable objects from a ReachabilityQuery: in-index bits plus out-of-namespace oids.
TypeBitmap
Borrowed type filter bitmap (commits, trees, blobs, or tags).

Enums§

BitmapError
Failure mode when a .bitmap sidecar cannot be used.
BitmapWalkError
Errors during a bitmap reachability walk.
PackBitmapWriteError
Failure while writing a pack reachability bitmap.

Functions§

bitmap_filter_supported
Returns true when filter can be applied via type bitmaps (mirrors Git can_filter_bitmap).