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

Function upload_pack_data_clear

upload-pack.c:160–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160static void upload_pack_data_clear(struct upload_pack_data *data)
161{
162 string_list_clear(&data->symref, 1);
163 strmap_clear(&data->wanted_refs, 1);
164 strvec_clear(&data->hidden_refs);
165 object_array_clear(&data->want_obj);
166 object_array_clear(&data->have_obj);
167 object_array_clear(&data->shallows);
168 oidset_clear(&data->deepen_not);
169 object_array_clear(&data->extra_edge_obj);
170 list_objects_filter_release(&data->filter_options);
171 string_list_clear(&data->allowed_filters, 0);
172 string_list_clear(&data->uri_protocols, 0);
173
174 free((char *)data->pack_objects_hook);
175}
176
177static void reset_timeout(unsigned int timeout)
178{

Callers 3

upload_packFunction · 0.85
upload_pack_v2Function · 0.85
upload_pack_advertiseFunction · 0.85

Calls 6

string_list_clearFunction · 0.85
strmap_clearFunction · 0.85
strvec_clearFunction · 0.85
object_array_clearFunction · 0.85
oidset_clearFunction · 0.85

Tested by

no test coverage detected