Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ free_ref_cache
Function
free_ref_cache
refs/ref-cache.c:77–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
}
76
77
void free_ref_cache(struct ref_cache *cache)
78
{
79
if (!cache)
80
return;
81
free_ref_entry(cache->root);
82
free(cache);
83
}
84
85
/*
86
* Clear and free all entries in dir, recursively.
Callers
2
clear_loose_ref_cache
Function · 0.85
files_ref_store_release
Function · 0.85
Calls
1
free_ref_entry
Function · 0.85
Tested by
no test coverage detected