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

Function prepare_midx_bitmap_git

pack-bitmap.c:751–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751struct bitmap_index *prepare_midx_bitmap_git(struct multi_pack_index *midx)
752{
753 struct bitmap_index *bitmap_git = xcalloc(1, sizeof(*bitmap_git));
754
755 if (!open_midx_bitmap_1(bitmap_git, midx))
756 return bitmap_git;
757
758 free_bitmap_index(bitmap_git);
759 return NULL;
760}
761
762int bitmap_index_contains_pack(struct bitmap_index *bitmap, struct packed_git *pack)
763{

Callers 2

open_midx_bitmap_1Function · 0.85
write_midx_internalFunction · 0.85

Calls 3

xcallocFunction · 0.85
open_midx_bitmap_1Function · 0.85
free_bitmap_indexFunction · 0.85

Tested by

no test coverage detected