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

Function strintmap_set

strmap.h:193–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193static inline void strintmap_set(struct strintmap *map, const char *str,
194 intptr_t v)
195{
196 strmap_put(&map->map, str, (void *)v);
197}
198
199/*
200 * Increment the value for str by amt. If str isn't in the map, add it and

Callers 9

set_comment_key_flagsFunction · 0.85
add_pairFunction · 0.85
collect_rename_infoFunction · 0.85
register_rename_srcFunction · 0.85
find_basename_matchesFunction · 0.85
strintmap_incrFunction · 0.85

Calls 1

strmap_putFunction · 0.85

Tested by

no test coverage detected