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

Function midx_bitmap_filename

pack-bitmap.c:439–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439char *midx_bitmap_filename(struct multi_pack_index *midx)
440{
441 struct strbuf buf = STRBUF_INIT;
442 if (midx->has_chain)
443 get_split_midx_filename_ext(midx->source, &buf,
444 midx_get_checksum_hash(midx),
445 MIDX_EXT_BITMAP);
446 else
447 get_midx_filename_ext(midx->source, &buf,
448 midx_get_checksum_hash(midx),
449 MIDX_EXT_BITMAP);
450
451 return strbuf_detach(&buf, NULL);
452}
453
454char *pack_bitmap_filename(struct packed_git *p)
455{

Callers 2

open_midx_bitmap_1Function · 0.85
verify_bitmap_filesFunction · 0.85

Calls 4

midx_get_checksum_hashFunction · 0.85
get_midx_filename_extFunction · 0.85
strbuf_detachFunction · 0.85

Tested by

no test coverage detected