libgit2

git_tag_create_frombuffer

Version:

Create a new tag in the repository from a buffer

Signature

int git_tag_create_frombuffer(git_oid *oid, git_repository *repo, const char *buffer);

Parameters

In
oid

Pointer where to store the OID of the newly created tag

In
repo

Repository where to store the tag

const char *
In
buffer

Raw tag data

Returns

int

Versions