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

Function get_split_midx_filename_ext

midx.c:248–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void 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
256static int open_multi_pack_index_chain(const struct git_hash_algo *hash_algo,
257 const char *chain_file, int *fd,

Callers 7

midx_bitmap_filenameFunction · 0.85
load_midx_chain_fd_stFunction · 0.85
write_midx_reverse_indexFunction · 0.85
write_midx_bitmapFunction · 0.85
link_midx_to_chainFunction · 0.85
write_midx_internalFunction · 0.85
load_midx_revindexFunction · 0.85

Calls 3

get_midx_chain_dirnameFunction · 0.85
strbuf_addfFunction · 0.85
hash_to_hex_algopFunction · 0.85

Tested by

no test coverage detected