MCPcopy Create free account
hub / github.com/git/git / files_ref_store_release

Function files_ref_store_release

refs/files-backend.c:178–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178static void files_ref_store_release(struct ref_store *ref_store)
179{
180 struct files_ref_store *refs = files_downcast(ref_store, 0, "release");
181 free_ref_cache(refs->loose);
182 free(refs->gitcommondir);
183 ref_store_release(refs->packed_ref_store);
184 free(refs->packed_ref_store);
185}
186
187static void files_reflog_path(struct files_ref_store *refs,
188 struct strbuf *sb,

Callers

nothing calls this directly

Calls 3

files_downcastFunction · 0.85
free_ref_cacheFunction · 0.85
ref_store_releaseFunction · 0.85

Tested by

no test coverage detected