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

Function strvec_clear

strvec.c:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void strvec_clear(struct strvec *array)
131{
132 if (array->v != empty_strvec) {
133 for (size_t i = 0; i < array->nr; i++)
134 free((char *)array->v[i]);
135 free(array->v);
136 }
137 strvec_init(array);
138}
139
140const char **strvec_detach(struct strvec *array)
141{

Callers 15

setup_git_env_internalFunction · 0.85
do_fetch_pack_v2Function · 0.85
ref_array_clearFunction · 0.85
ref_filter_clearFunction · 0.85
credential_clearFunction · 0.85
credential_next_stateFunction · 0.85
credential_fillFunction · 0.85
upload_pack_data_clearFunction · 0.85
send_shallow_listFunction · 0.85

Calls 1

strvec_initFunction · 0.85