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

Function oidmap_get

oidmap.c:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void *oidmap_get(const struct oidmap *map, const struct object_id *key)
52{
53 if (!map->map.cmpfn)
54 return NULL;
55
56 return hashmap_get_from_hash(&map->map, oidhash(key), key);
57}
58
59void *oidmap_remove(struct oidmap *map, const struct object_id *key)
60{

Callers 10

label_oidFunction · 0.85
make_script_with_mergesFunction · 0.85
filter_trees_depthFunction · 0.85
do_lookup_replace_objectFunction · 0.85
test_oidmap__getFunction · 0.85
test_oidmap__removeFunction · 0.85
add_missing_object_entryFunction · 0.85
git_pack_configFunction · 0.85

Calls 2

hashmap_get_from_hashFunction · 0.85
oidhashFunction · 0.85

Tested by 2

test_oidmap__getFunction · 0.68
test_oidmap__removeFunction · 0.68