| 131 | } |
| 132 | |
| 133 | static void paths_and_oids_clear(struct hashmap *map) |
| 134 | { |
| 135 | struct hashmap_iter iter; |
| 136 | struct path_and_oids_entry *entry; |
| 137 | |
| 138 | hashmap_for_each_entry(map, &iter, entry, ent /* member name */) { |
| 139 | oidset_clear(&entry->trees); |
| 140 | free(entry->path); |
| 141 | } |
| 142 | |
| 143 | hashmap_clear_and_free(map, struct path_and_oids_entry, ent); |
| 144 | } |
| 145 | |
| 146 | static void paths_and_oids_insert(struct hashmap *map, |
| 147 | const char *path, |
no test coverage detected