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

Function midx_contains_pack

midx.c:709–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707}
708
709int midx_contains_pack(struct multi_pack_index *m, const char *idx_or_pack_name)
710{
711 for (; m; m = m->base_midx)
712 if (midx_layer_contains_pack(m, idx_or_pack_name))
713 return 1;
714 return 0;
715}
716
717int midx_preferred_pack(struct multi_pack_index *m, uint32_t *pack_int_id)
718{

Callers 3

prepare_packFunction · 0.85
should_include_packFunction · 0.85

Calls 1

midx_layer_contains_packFunction · 0.85

Tested by

no test coverage detected