git_tag_list_match

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

If an empty pattern is provided, all the tags will be returned.

The string array will be filled with the names of the matching tags; these values are owned by the user and should be free'd manually when no longer needed, using git_strarray_free.

extern (C) nothrow @nogc
int
git_tag_list_match

Parameters

tag_names libgit2_d.strarray.git_strarray*

Pointer to a git_strarray structure where the tag names will be stored

pattern const(char)*

Standard fnmatch pattern

repo libgit2_d.types.git_repository*

Repository where to find the tags

Return Value

Type: int

0 or an error code

Meta