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

Function open_bitmap

pack-bitmap.c:721–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719}
720
721static int open_bitmap(struct repository *r,
722 struct bitmap_index *bitmap_git)
723{
724 int found;
725
726 assert(!bitmap_git->map);
727
728 found = !open_midx_bitmap(r, bitmap_git);
729
730 /*
731 * these will all be skipped if we opened a midx bitmap; but run it
732 * anyway if tracing is enabled to report the duplicates
733 */
734 if (!found || trace2_is_enabled())
735 found |= !open_pack_bitmap(r, bitmap_git);
736
737 return found ? 0 : -1;
738}
739
740struct bitmap_index *prepare_bitmap_git(struct repository *r)
741{

Callers 2

prepare_bitmap_gitFunction · 0.85
prepare_bitmap_walkFunction · 0.85

Calls 3

open_midx_bitmapFunction · 0.85
trace2_is_enabledFunction · 0.85
open_pack_bitmapFunction · 0.85

Tested by

no test coverage detected