MCPcopy Index your code
hub / github.com/git/git / sha1_compare

Function sha1_compare

pack-write.c:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25static int sha1_compare(const void *_a, const void *_b)
26{
27 struct pack_idx_entry *a = *(struct pack_idx_entry **)_a;
28 struct pack_idx_entry *b = *(struct pack_idx_entry **)_b;
29 return oidcmp(&a->oid, &b->oid);
30}
31
32static int cmp_uint32(const void *a_, const void *b_)
33{

Callers

nothing calls this directly

Calls 1

oidcmpFunction · 0.85

Tested by

no test coverage detected