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

Function string_list_insert

string-list.c:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63struct string_list_item *string_list_insert(struct string_list *list, const char *string)
64{
65 size_t index = add_entry(list, string);
66
67 return list->items + index;
68}
69
70void string_list_remove(struct string_list *list, const char *string,
71 int free_util)

Callers 15

list_cmds_by_configFunction · 0.85
compute_collisionsFunction · 0.85
find_unpushed_submodulesFunction · 0.85
get_next_submoduleFunction · 0.85
record_person_from_bufFunction · 0.85
add_mappingFunction · 0.85
urlmatch_config_entryFunction · 0.85
add_decorations_to_listFunction · 0.85

Calls 1

add_entryFunction · 0.70

Tested by 2

cmd__progressFunction · 0.68
collect_expectFunction · 0.68