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

Function oid_array_sort

oid-array.c:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void oid_array_sort(struct oid_array *array)
28{
29 if (array->sorted)
30 return;
31 QSORT(array->oid, array->nr, void_hashcmp);
32 array->sorted = 1;
33}
34
35static const struct object_id *oid_access(size_t index, const void *table)
36{

Callers 3

copy_oids_to_commitsFunction · 0.85
oid_array_lookupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected