MCPcopy 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
77void 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_cacheFunction · 0.85
files_ref_store_releaseFunction · 0.85

Calls 1

free_ref_entryFunction · 0.85

Tested by

no test coverage detected