Downloads
Reference
Learning
Security
Source
API Documentation
oid
git_oid_is_zero
Version:
main
v1.8.4
v1.8.3
v1.8.2
v1.8.2-rc1
v1.8.1
v1.8.0
v1.7.2
v1.7.1
v1.7.0
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.0
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v0.99.0
Check is an oid is all zeros.
Signature
GitHub
int git_oid_is_zero(
const git_oid *id
);
Parameters
const git_oid *
In
id
the object ID to check
Returns
int
1 if all zeros, 0 otherwise.
Versions
main
v1.8.4
v1.8.3
v1.8.2
v1.8.2-rc1
v1.8.1
v1.8.0
v1.7.2
v1.7.1
v1.7.0
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.0
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v0.99.0