Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ submodule_cache_alloc
Function
submodule_cache_alloc
submodule-config.c:81–84 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
}
80
81
static struct submodule_cache *submodule_cache_alloc(void)
82
{
83
return xcalloc(1, sizeof(struct submodule_cache));
84
}
85
86
static void submodule_cache_init(struct submodule_cache *cache)
87
{
Callers
1
submodule_cache_check_init
Function · 0.85
Calls
1
xcalloc
Function · 0.85
Tested by
no test coverage detected