MCPcopy Create free account
hub / github.com/git/git / hashmap_iter_first

Function hashmap_iter_first

hashmap.h:454–459  ·  view source on GitHub ↗

Initializes the iterator and returns the first entry, if any. */

Source from the content-addressed store, hash-verified

452
453/* Initializes the iterator and returns the first entry, if any. */
454static inline struct hashmap_entry *hashmap_iter_first(struct hashmap *map,
455 struct hashmap_iter *iter)
456{
457 hashmap_iter_init(map, iter);
458 return hashmap_iter_next(iter);
459}
460
461/*
462 * returns the first entry in @map using @iter, where the entry is of

Callers

nothing calls this directly

Calls 2

hashmap_iter_initFunction · 0.85
hashmap_iter_nextFunction · 0.85

Tested by

no test coverage detected