MCPcopy Index your code
hub / github.com/git/git / oid_array_lookup

Function oid_array_lookup

oid-array.c:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41int oid_array_lookup(struct oid_array *array, const struct object_id *oid)
42{
43 oid_array_sort(array);
44 return oid_pos(oid, array->oid, array->nr, oid_access);
45}
46
47void oid_array_clear(struct oid_array *array)
48{

Callers 5

match_points_atFunction · 0.85
filter_skippedFunction · 0.85
check_merge_basesFunction · 0.85
t_lookupFunction · 0.85

Calls 2

oid_array_sortFunction · 0.85
oid_posFunction · 0.85

Tested by

no test coverage detected