| 1115 | } |
| 1116 | |
| 1117 | static 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 | |
| 1126 | static int reftable_index_record_cmp(const void *_a, const void *_b) |
| 1127 | { |
nothing calls this directly
no test coverage detected