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

Function reftable_index_record_cmp

reftable/record.c:1126–1131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1124}
1125
1126static int reftable_index_record_cmp(const void *_a, const void *_b)
1127{
1128 const struct reftable_index_record *a = _a;
1129 const struct reftable_index_record *b = _b;
1130 return reftable_buf_cmp(&a->last_key, &b->last_key);
1131}
1132
1133static struct reftable_record_vtable reftable_index_record_vtable = {
1134 .key = &reftable_index_record_key,

Callers

nothing calls this directly

Calls 1

reftable_buf_cmpFunction · 0.85

Tested by

no test coverage detected