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

Function odb_for_each_alternate_ref

odb.c:463–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463void odb_for_each_alternate_ref(struct object_database *odb,
464 odb_for_each_alternate_ref_fn cb, void *payload)
465{
466 struct alternate_refs_data data;
467 data.fn = cb;
468 data.payload = payload;
469 odb_for_each_alternate(odb, refs_from_alternate_cb, &data);
470}
471
472int odb_for_each_alternate(struct object_database *odb,
473 odb_for_each_alternate_fn cb, void *payload)

Callers 3

write_head_infoFunction · 0.85

Calls 1

odb_for_each_alternateFunction · 0.85

Tested by

no test coverage detected