| 437 | } |
| 438 | |
| 439 | char *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 | |
| 454 | char *pack_bitmap_filename(struct packed_git *p) |
| 455 | { |
no test coverage detected