libgit2

git_oid_iszero

Version:

Check is an oid is all zeros.

Signature

int git_oid_iszero(const git_oid *id);

Parameters

Returns

int

1 if all zeros, 0 otherwise.

Versions