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

Function refs_for_each_reflog

refs.c:2968–2976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2966}
2967
2968int refs_for_each_reflog(struct ref_store *refs, each_reflog_fn fn, void *cb_data)
2969{
2970 struct ref_iterator *iter;
2971 struct do_for_each_reflog_help hp = { fn, cb_data };
2972
2973 iter = refs->be->reflog_iterator_begin(refs);
2974
2975 return do_for_each_ref_iterator(iter, do_for_each_reflog_helper, &hp);
2976}
2977
2978int refs_for_each_reflog_ent_reverse(struct ref_store *refs,
2979 const char *refname,

Callers 8

add_reflogs_to_pendingFunction · 0.85
cmd_for_each_reflogFunction · 0.85
cmd_reflog_listFunction · 0.85
cmd_reflog_expireFunction · 0.85
cmd_reflog_dropFunction · 0.85
process_refsFunction · 0.85

Calls 1

do_for_each_ref_iteratorFunction · 0.85

Tested by 1

cmd_for_each_reflogFunction · 0.68