libgit2

git_tag_target_id

Version:

Get the OID of the tagged object of a tag

Signature

const git_oid *git_tag_target_id(const git_tag *tag);

Parameters

In
tag

a previously loaded tag.

Returns

pointer to the OID

Versions