Compare two #GgitOId structures.
second #GgitOId.
Copies oid
into a newly allocated #GgitOId.
Compares two #GgitOId for equality.
a #GgitOId.
Frees oid
.
Check whether the object id has a given prefix. Note that the prefix is specified in hexadecimal ASCII.
a prefix.
Computes a hash value for a git object identifier.
Get whether the oid contains only zeros.
Converts oid
into a readable string.
Creates a new #GgitOId from a raw oid.
the raw input bytes to be copied.
Parses a hex formatted object id into a #GgitOId.
input hex string; must be pointing at the start of the hex sequence and have at least the number of bytes needed for an oid encoded in hex (40 bytes).
Represents a unique ID of any object.