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

Function clear_bundle_list

bundle-uri.c:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void clear_bundle_list(struct bundle_list *list)
62{
63 if (!list)
64 return;
65
66 for_all_bundles_in_list(list, clear_remote_bundle_info, NULL);
67 hashmap_clear_and_free(&list->bundles, struct remote_bundle_info, ent);
68 free(list->baseURI);
69}
70
71int for_all_bundles_in_list(struct bundle_list *list,
72 bundle_iterator iter,

Callers 6

transport_disconnectFunction · 0.85
fetch_bundle_uriFunction · 0.85
fetch_bundle_listFunction · 0.85
cmd__bundle_uri_parseFunction · 0.85
cmd_cloneFunction · 0.85

Calls 1

for_all_bundles_in_listFunction · 0.85

Tested by 1

cmd__bundle_uri_parseFunction · 0.68