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

Function free_one_ref

remote.c:1019–1029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1017}
1018
1019void free_one_ref(struct ref *ref)
1020{
1021 if (!ref)
1022 return;
1023 free_one_ref(ref->peer_ref);
1024 ref_push_report_free(ref->report);
1025 free(ref->remote_status);
1026 free(ref->tracking_ref);
1027 free(ref->symref);
1028 free(ref);
1029}
1030
1031void free_refs(struct ref *ref)
1032{

Callers 8

filter_refsFunction · 0.85
parse_info_refsFunction · 0.85
free_refsFunction · 0.85
match_explicitFunction · 0.85
get_expanded_mapFunction · 0.85
cmd_fetch_packFunction · 0.85
wanted_peer_refsFunction · 0.85

Calls 1

ref_push_report_freeFunction · 0.85

Tested by

no test coverage detected