MCPcopy Index your code
hub / github.com/git/git / close_commit_graph

Function close_commit_graph

commit-graph.c:823–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821}
822
823void close_commit_graph(struct object_database *o)
824{
825 if (!o->commit_graph)
826 return;
827
828 clear_commit_graph_data_slab(&commit_graph_data_slab);
829 deinit_bloom_filters();
830 free_commit_graph(o->commit_graph);
831 o->commit_graph = NULL;
832}
833
834static int bsearch_graph(struct commit_graph *g, const struct object_id *oid, uint32_t *pos)
835{

Callers 2

write_commit_graph_fileFunction · 0.85
odb_closeFunction · 0.85

Calls 2

deinit_bloom_filtersFunction · 0.85
free_commit_graphFunction · 0.85

Tested by

no test coverage detected