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

Function string_list_has_string

string-list.c:87–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87bool string_list_has_string(const struct string_list *list, const char *string)
88{
89 bool exact_match;
90 get_entry_index(list, string, &exact_match);
91 return exact_match;
92}
93
94size_t string_list_find_insert_index(const struct string_list *list, const char *string,
95 bool *exact_match)

Callers 15

is_transport_allowedFunction · 0.85
pack_geometry_initFunction · 0.85
remove_redundant_packsFunction · 0.85
add_missing_tagsFunction · 0.85
match_push_refsFunction · 0.85
get_stale_heads_cbFunction · 0.85
should_include_packFunction · 0.85
do_plain_rerereFunction · 0.85
warn_if_dangling_symrefFunction · 0.85
find_descendant_refFunction · 0.85

Calls 1

get_entry_indexFunction · 0.85

Tested by

no test coverage detected