Expand description
Parsing Git commit-graph files and Bloom filter lookup (commit-graph.c / bloom.c compatible).
Re-exports§
pub use crate::bloom::collect_changed_paths_for_bloom;
Structs§
- Bloom
Walk Stats - Counters for
GIT_TRACE2_PERFBloom statistics (revision.ctrace2_bloom_filter_statistics_atexit). - Commit
Graph Chain - Loaded commit-graph chain (newest layer first, matching
commit-graph-chainfile order). - Commit
Graph Layer - One layer from
.git/objects/info/commit-graphorcommit-graphs/<hash>.graph. - Parsed
Graph Dump
Enums§
- Bloom
Precheck - Result of consulting Bloom filters before running a tree diff (matches
revision.c).
Functions§
- bloom_
filter_ for_ commit_ write - Build Bloom filter bytes for one commit; returns cumulative size contribution for BIDX.
- diff_
changed_ paths_ for_ bloom - Compute changed paths between parent and commit trees (recursive diff, no rename detection).
- dump_
bloom_ filters - Dump hex lines of Bloom filters (one per commit, empty line for empty filter).
- parse_
graph_ file - Parse all chunks for
test-tool read-graph/ debugging.
Type Aliases§
- Bloom
Walk Stats Handle - Shared stats handle for
crate::rev_list::RevListOptions::bloom_stats.