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

Function reftable_record_cmp

reftable/record.c:1193–1201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191}
1192
1193int reftable_record_cmp(struct reftable_record *a, struct reftable_record *b,
1194 int *cmp)
1195{
1196 if (a->type != b->type)
1197 return -1;
1198 *cmp = reftable_record_vtable(a)->cmp(reftable_record_data(a),
1199 reftable_record_data(b));
1200 return 0;
1201}
1202
1203int reftable_record_equal(struct reftable_record *a, struct reftable_record *b, uint32_t hash_size)
1204{

Calls 2

reftable_record_dataFunction · 0.85
reftable_record_vtableFunction · 0.70