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

Function hashmap_get_next

hashmap.c:222–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222struct hashmap_entry *hashmap_get_next(const struct hashmap *map,
223 const struct hashmap_entry *entry)
224{
225 struct hashmap_entry *e = entry->next;
226 for (; e; e = e->next)
227 if (entry_equals(map, entry, e, NULL))
228 return e;
229 return NULL;
230}
231
232void hashmap_add(struct hashmap *map, struct hashmap_entry *entry)
233{

Callers

nothing calls this directly

Calls 1

entry_equalsFunction · 0.85

Tested by

no test coverage detected