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

Function reftable_index_record_equal

reftable/record.c:1117–1124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1115}
1116
1117static int reftable_index_record_equal(const void *a, const void *b,
1118 uint32_t hash_size REFTABLE_UNUSED)
1119{
1120 struct reftable_index_record *ia = (struct reftable_index_record *) a;
1121 struct reftable_index_record *ib = (struct reftable_index_record *) b;
1122
1123 return ia->offset == ib->offset && !reftable_buf_cmp(&ia->last_key, &ib->last_key);
1124}
1125
1126static int reftable_index_record_cmp(const void *_a, const void *_b)
1127{

Callers

nothing calls this directly

Calls 1

reftable_buf_cmpFunction · 0.85

Tested by

no test coverage detected