libgit2

git_oid_cmp

Version:

Compare two oid structures.

Signature

int git_oid_cmp(const git_oid *a, const git_oid *b);

Parameters

In
a

first oid structure.

In
b

second oid structure.

Returns

int

< 0, 0, >0 if a < b, a == b, a > b.

Versions