libgit2

git_oid_is_zero

Version:

Check is an oid is all zeros.

Signature

int git_oid_is_zero(const git_oid *id);

Parameters

Returns

int

1 if all zeros, 0 otherwise.

Versions