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

Function reftable_record_equal

reftable/record.c:1203–1209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1201}
1202
1203int reftable_record_equal(struct reftable_record *a, struct reftable_record *b, uint32_t hash_size)
1204{
1205 if (a->type != b->type)
1206 return 0;
1207 return reftable_record_vtable(a)->equal(
1208 reftable_record_data(a), reftable_record_data(b), hash_size);
1209}
1210
1211static int hash_equal(const unsigned char *a, const unsigned char *b, uint32_t hash_size)
1212{

Calls 2

reftable_record_dataFunction · 0.85
reftable_record_vtableFunction · 0.70