Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
15
void 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
21
void oidtree_clear(struct oidtree *ot)
22
{
Callers
6
load_one_loose_object_map
Function · 0.85
oidtree_clear
Function · 0.85
test_oidtree__initialize
Function · 0.85
test_oidtree__insert_overwrites_data
Function · 0.85
odb_source_inmemory_write_object
Function · 0.85
odb_source_loose_cache
Function · 0.85
Calls
2
cb_init
Function · 0.85
mem_pool_init
Function · 0.85
Tested by
2
test_oidtree__initialize
Function · 0.68
test_oidtree__insert_overwrites_data
Function · 0.68