| 1209 | } |
| 1210 | |
| 1211 | static int hash_equal(const unsigned char *a, const unsigned char *b, uint32_t hash_size) |
| 1212 | { |
| 1213 | if (a && b) |
| 1214 | return !memcmp(a, b, hash_size); |
| 1215 | |
| 1216 | return a == b; |
| 1217 | } |
| 1218 | |
| 1219 | int reftable_ref_record_equal(const struct reftable_ref_record *a, |
| 1220 | const struct reftable_ref_record *b, uint32_t hash_size) |
no outgoing calls
no test coverage detected