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

Function clear_pattern_entry_hashmap

dir.c:782–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780}
781
782static void clear_pattern_entry_hashmap(struct hashmap *map)
783{
784 struct hashmap_iter iter;
785 struct pattern_entry *entry;
786
787 hashmap_for_each_entry(map, &iter, entry, ent) {
788 free(entry->pattern);
789 }
790 hashmap_clear_and_free(map, struct pattern_entry, ent);
791}
792
793static void add_pattern_to_hashsets(struct pattern_list *pl, struct path_pattern *given)
794{

Callers 2

add_pattern_to_hashsetsFunction · 0.85
clear_pattern_listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected