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

Function oidcmp

hash.h:389–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389static inline int oidcmp(const struct object_id *oid1, const struct object_id *oid2)
390{
391 return memcmp(oid1->hash, oid2->hash, GIT_MAX_RAWSZ);
392}
393
394static inline int oideq(const struct object_id *oid1, const struct object_id *oid2)
395{

Callers 15

oid_posFunction · 0.85
commit_compareFunction · 0.85
verify_one_commit_graphFunction · 0.85
verify_midx_fileFunction · 0.85
midx_oid_compareFunction · 0.85
write_midx_oid_lookupFunction · 0.85
sort_ambiguousFunction · 0.85
compare_commit_distFunction · 0.85
sha1_compareFunction · 0.85
void_hashcmpFunction · 0.85
idx_oid_cmpFunction · 0.85

Calls

no outgoing calls

Tested by 1

idx_oid_cmpFunction · 0.68