libgit2

git_odb_object_id

Version:

Return the OID of an ODB object

This is the OID from which the object was read from

Signature

const git_oid *git_odb_object_id(git_odb_object *object);

Parameters

In
object

the object

Returns

a pointer to the OID

Versions