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

Function for_each_string_list

string-list.c:127–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127int for_each_string_list(struct string_list *list,
128 string_list_each_func_t fn, void *cb_data)
129{
130 int ret = 0;
131 for (size_t i = 0; i < list->nr; i++)
132 if ((ret = fn(&list->items[i], cb_data)))
133 break;
134 return ret;
135}
136
137void filter_string_list(struct string_list *list, int free_util,
138 string_list_each_func_t want, void *cb_data)

Callers 6

get_notes_argsFunction · 0.85
setup_referenceFunction · 0.85
showFunction · 0.85
add_repack_all_optionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected