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

Function refs_fsck_ref

refs.c:326–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326int refs_fsck_ref(struct ref_store *refs UNUSED, struct fsck_options *o,
327 struct fsck_ref_report *report,
328 const char *refname UNUSED, const struct object_id *oid)
329{
330 if (is_null_oid(oid))
331 return fsck_report_ref(o, report, FSCK_MSG_BAD_REF_OID,
332 "points to invalid object ID '%s'",
333 oid_to_hex(oid));
334
335 return 0;
336}
337
338int refs_fsck_symref(struct ref_store *refs UNUSED, struct fsck_options *o,
339 struct fsck_ref_report *report,

Callers 2

reftable_be_fsckFunction · 0.85
files_fsck_refs_contentFunction · 0.85

Calls 3

is_null_oidFunction · 0.85
fsck_report_refFunction · 0.85
oid_to_hexFunction · 0.85

Tested by

no test coverage detected