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

Function oidtree_get

oidtree.c:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void *oidtree_get(struct oidtree *ot, const struct object_id *oid)
86{
87 struct oidtree_node *node = oidtree_lookup(ot, oid);
88 return node ? node->data : NULL;
89}
90
91struct oidtree_each_data {
92 oidtree_each_cb cb;

Callers 2

find_cached_objectFunction · 0.85

Calls 1

oidtree_lookupFunction · 0.85

Tested by 1