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

Function midx_has_oid

midx.c:542–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542int midx_has_oid(struct multi_pack_index *m, const struct object_id *oid)
543{
544 return bsearch_midx(oid, m, NULL);
545}
546
547struct object_id *nth_midxed_object_oid(struct object_id *oid,
548 struct multi_pack_index *m,

Callers 1

compute_sorted_entriesFunction · 0.85

Calls 1

bsearch_midxFunction · 0.85

Tested by

no test coverage detected