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

Function oidtree_init

oidtree.c:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13};
14
15void oidtree_init(struct oidtree *ot)
16{
17 cb_init(&ot->tree, offsetof(struct oidtree_node, key));
18 mem_pool_init(&ot->mem_pool, 0);
19}
20
21void oidtree_clear(struct oidtree *ot)
22{

Callers 6

oidtree_clearFunction · 0.85
test_oidtree__initializeFunction · 0.85
odb_source_loose_cacheFunction · 0.85

Calls 2

cb_initFunction · 0.85
mem_pool_initFunction · 0.85

Tested by 2

test_oidtree__initializeFunction · 0.68