libgit2

git_tag_dup

Version:

Create an in-memory copy of a tag. The copy must be explicitly free'd or it will leak.

Signature

int git_tag_dup(git_tag **out, git_tag *source);

Parameters

In
out

Pointer to store the copy of the tag

In
source

Original tag to copy

Returns

int

Versions