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

Function packfile_store_close

packfile.c:2840–2850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2838}
2839
2840void packfile_store_close(struct packfile_store *store)
2841{
2842 for (struct packfile_list_entry *e = store->packs.head; e; e = e->next) {
2843 if (e->pack->do_not_close)
2844 BUG("want to close pack marked 'do-not-close'");
2845 close_pack(e->pack);
2846 }
2847 if (store->midx)
2848 close_midx(store->midx);
2849 store->midx = NULL;
2850}
2851
2852struct odb_packed_read_stream {
2853 struct odb_read_stream base;

Callers 1

odb_source_files_closeFunction · 0.85

Calls 2

close_packFunction · 0.85
close_midxFunction · 0.85

Tested by

no test coverage detected