MCPcopy Index your code
hub / github.com/git/git / bitmap_walk_contains

Function bitmap_walk_contains

pack-bitmap.c:2579–2589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2577}
2578
2579int bitmap_walk_contains(struct bitmap_index *bitmap_git,
2580 struct bitmap *bitmap, const struct object_id *oid)
2581{
2582 int idx;
2583
2584 if (!bitmap)
2585 return 0;
2586
2587 idx = bitmap_position(bitmap_git, oid);
2588 return idx >= 0 && bitmap_get(bitmap, idx);
2589}
2590
2591void traverse_bitmap_commit_list(struct bitmap_index *bitmap_git,
2592 struct rev_info *revs,

Callers 5

show_boundary_commitFunction · 0.85
find_boundary_objectsFunction · 0.85
have_duplicate_entryFunction · 0.85
obj_is_packedFunction · 0.85

Calls 2

bitmap_positionFunction · 0.85
bitmap_getFunction · 0.85

Tested by

no test coverage detected