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

Function oidtree_contains

oidtree.c:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79bool oidtree_contains(struct oidtree *ot, const struct object_id *oid)
80{
81 struct oidtree_node *node = oidtree_lookup(ot, oid);
82 return node ? 1 : 0;
83}
84
85void *oidtree_get(struct oidtree *ot, const struct object_id *oid)
86{

Callers 3

check_containsFunction · 0.85
quick_has_looseFunction · 0.85

Calls 1

oidtree_lookupFunction · 0.85

Tested by

no test coverage detected