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

Function oid_array_clear

oid-array.c:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void oid_array_clear(struct oid_array *array)
48{
49 FREE_AND_NULL(array->oid);
50 array->nr = 0;
51 array->alloc = 0;
52 array->sorted = 0;
53}
54
55
56int oid_array_for_each(struct oid_array *array,

Callers 15

update_shallowFunction · 0.85
fetch_packFunction · 0.85
ref_filter_clearFunction · 0.85
disconnect_gitFunction · 0.85
transport_pushFunction · 0.85
inexact_prefetchFunction · 0.85
basename_prefetchFunction · 0.85
parse_opt_object_nameFunction · 0.85
write_commit_graphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected