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

Function oidmap_put

oidmap.c:70–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void *oidmap_put(struct oidmap *map, void *entry)
71{
72 struct oidmap_entry *to_put = entry;
73
74 if (!map->map.cmpfn)
75 oidmap_init(map, 0);
76
77 hashmap_entry_init(&to_put->internal_entry, oidhash(&to_put->oid));
78 return hashmap_put(&map->map, &to_put->internal_entry);
79}

Callers 10

label_oidFunction · 0.85
make_script_with_mergesFunction · 0.85
filter_trees_depthFunction · 0.85
register_replace_refFunction · 0.85
test_oidmap__initializeFunction · 0.85
test_oidmap__replaceFunction · 0.85
add_missing_object_entryFunction · 0.85
git_pack_configFunction · 0.85

Calls 4

oidmap_initFunction · 0.85
hashmap_entry_initFunction · 0.85
oidhashFunction · 0.85
hashmap_putFunction · 0.85