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

Function refs_ref_exists

refs.c:469–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469int refs_ref_exists(struct ref_store *refs, const char *refname)
470{
471 return !!refs_resolve_ref_unsafe(refs, refname, RESOLVE_REF_READING,
472 NULL, NULL);
473}
474
475static int for_each_filter_refs(const struct reference *ref, void *data)
476{

Callers 15

create_seq_dirFunction · 0.85
rollback_single_pickFunction · 0.85
sequencer_skipFunction · 0.85
apply_save_autostash_refFunction · 0.85
continue_single_pickFunction · 0.85
commit_staged_changesFunction · 0.85
sequencer_continueFunction · 0.85
branch_get_upstreamFunction · 0.85
wt_status_get_stateFunction · 0.85

Calls 1

refs_resolve_ref_unsafeFunction · 0.85

Tested by

no test coverage detected