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

Function packfile_store_free

packfile.c:2830–2838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2828}
2829
2830void packfile_store_free(struct packfile_store *store)
2831{
2832 for (struct packfile_list_entry *e = store->packs.head; e; e = e->next)
2833 free(e->pack);
2834 packfile_list_clear(&store->packs);
2835
2836 strmap_clear(&store->packs_by_path, 0);
2837 free(store);
2838}
2839
2840void packfile_store_close(struct packfile_store *store)
2841{

Callers 1

odb_source_files_freeFunction · 0.85

Calls 2

packfile_list_clearFunction · 0.85
strmap_clearFunction · 0.85

Tested by

no test coverage detected