git_tag_create_from_buffer

Create a new tag in the repository from a buffer

extern (C) nothrow @nogc
int
git_tag_create_from_buffer

Parameters

oid libgit2_d.oid.git_oid*

Pointer where to store the OID of the newly created tag

repo libgit2_d.types.git_repository*

Repository where to store the tag

buffer const(char)*

Raw tag data

force int

Overwrite existing tags

Return Value

Type: int

0 on success; error code otherwise

Meta