libgit2_d.tag

Undocumented in source.

Members

Aliases

git_tag_foreach_cb
alias git_tag_foreach_cb = int function(const(char)* name, libgit2_d.oid.git_oid* oid, void* payload)

Callback used to iterate over tag names

Functions

git_tag_annotation_create
int git_tag_annotation_create(libgit2_d.oid.git_oid* oid, libgit2_d.types.git_repository* repo, const(char)* tag_name, const(libgit2_d.types.git_object)* target, const(libgit2_d.types.git_signature)* tagger, const(char)* message)

Create a new tag in the object database pointing to a git_object

git_tag_create
int git_tag_create(libgit2_d.oid.git_oid* oid, libgit2_d.types.git_repository* repo, const(char)* tag_name, const(libgit2_d.types.git_object)* target, const(libgit2_d.types.git_signature)* tagger, const(char)* message, int force)

Create a new tag in the repository from an object

git_tag_create_from_buffer
int git_tag_create_from_buffer(libgit2_d.oid.git_oid* oid, libgit2_d.types.git_repository* repo, const(char)* buffer, int force)

Create a new tag in the repository from a buffer

git_tag_create_lightweight
int git_tag_create_lightweight(libgit2_d.oid.git_oid* oid, libgit2_d.types.git_repository* repo, const(char)* tag_name, const(libgit2_d.types.git_object)* target, int force)

Create a new lightweight tag pointing at a target object

git_tag_delete
int git_tag_delete(libgit2_d.types.git_repository* repo, const(char)* tag_name)

Delete an existing tag reference.

git_tag_dup
int git_tag_dup(libgit2_d.types.git_tag** out_, libgit2_d.types.git_tag* source)

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

git_tag_foreach
int git_tag_foreach(libgit2_d.types.git_repository* repo, .git_tag_foreach_cb callback, void* payload)

Call callback `cb' for each tag in the repository

git_tag_free
void git_tag_free(libgit2_d.types.git_tag* tag)

Close an open tag

git_tag_id
const(libgit2_d.oid.git_oid)* git_tag_id(const(libgit2_d.types.git_tag)* tag)

Get the id of a tag.

git_tag_list
int git_tag_list(libgit2_d.strarray.git_strarray* tag_names, libgit2_d.types.git_repository* repo)

Fill a list with all the tags in the Repository

git_tag_list_match
int git_tag_list_match(libgit2_d.strarray.git_strarray* tag_names, const(char)* pattern, libgit2_d.types.git_repository* repo)

Fill a list with all the tags in the Repository which name match a defined pattern

git_tag_lookup
int git_tag_lookup(libgit2_d.types.git_tag** out_, libgit2_d.types.git_repository* repo, const(libgit2_d.oid.git_oid)* id)

Lookup a tag object from the repository.

git_tag_lookup_prefix
int git_tag_lookup_prefix(libgit2_d.types.git_tag** out_, libgit2_d.types.git_repository* repo, const(libgit2_d.oid.git_oid)* id, size_t len)

Lookup a tag object from the repository, given a prefix of its identifier (short id).

git_tag_message
const(char)* git_tag_message(const(libgit2_d.types.git_tag)* tag)

Get the message of a tag

git_tag_name
const(char)* git_tag_name(const(libgit2_d.types.git_tag)* tag)

Get the name of a tag

git_tag_owner
libgit2_d.types.git_repository* git_tag_owner(const(libgit2_d.types.git_tag)* tag)

Get the repository that contains the tag.

git_tag_peel
int git_tag_peel(libgit2_d.types.git_object** tag_target_out, const(libgit2_d.types.git_tag)* tag)

Recursively peel a tag until a non tag git_object is found

git_tag_tagger
const(libgit2_d.types.git_signature)* git_tag_tagger(const(libgit2_d.types.git_tag)* tag)

Get the tagger (author) of a tag

git_tag_target
int git_tag_target(libgit2_d.types.git_object** target_out, const(libgit2_d.types.git_tag)* tag)

Get the tagged object of a tag

git_tag_target_id
const(libgit2_d.oid.git_oid)* git_tag_target_id(const(libgit2_d.types.git_tag)* tag)

Get the OID of the tagged object of a tag

git_tag_target_type
libgit2_d.types.git_object_t git_tag_target_type(const(libgit2_d.types.git_tag)* tag)

Get the type of a tag's tagged object

Meta