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

Function refs_for_each_branch_ref

refs.c:547–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547int refs_for_each_branch_ref(struct ref_store *refs, refs_for_each_cb cb, void *cb_data)
548{
549 struct refs_for_each_ref_options opts = {
550 .prefix = "refs/heads/",
551 .trim_prefix = strlen("refs/heads/"),
552 };
553 return refs_for_each_ref_ext(refs, cb, cb_data, &opts);
554}
555
556int refs_for_each_remote_ref(struct ref_store *refs, refs_for_each_cb cb, void *cb_data)
557{

Callers 1

can_use_local_refsFunction · 0.85

Calls 1

refs_for_each_ref_extFunction · 0.85

Tested by

no test coverage detected