| 246 | } |
| 247 | |
| 248 | void get_split_midx_filename_ext(struct odb_source *source, struct strbuf *buf, |
| 249 | const unsigned char *hash, const char *ext) |
| 250 | { |
| 251 | get_midx_chain_dirname(source, buf); |
| 252 | strbuf_addf(buf, "/multi-pack-index-%s.%s", |
| 253 | hash_to_hex_algop(hash, source->odb->repo->hash_algo), ext); |
| 254 | } |
| 255 | |
| 256 | static int open_multi_pack_index_chain(const struct git_hash_algo *hash_algo, |
| 257 | const char *chain_file, int *fd, |
no test coverage detected