MCPcopy Create free account
hub / github.com/git/git / pack_bitmap_filename

Function pack_bitmap_filename

pack-bitmap.c:454–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454char *pack_bitmap_filename(struct packed_git *p)
455{
456 size_t len;
457
458 if (!strip_suffix(p->pack_name, ".pack", &len))
459 BUG("pack_name does not end in .pack");
460 return xstrfmt("%.*s.bitmap", (int)len, p->pack_name);
461}
462
463static int open_midx_bitmap_1(struct bitmap_index *bitmap_git,
464 struct multi_pack_index *midx)

Callers 2

open_pack_bitmap_1Function · 0.85
verify_bitmap_filesFunction · 0.85

Calls 2

strip_suffixFunction · 0.85
xstrfmtFunction · 0.85

Tested by

no test coverage detected