git_tag_lookup_prefix

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

@see git_object_lookup_prefix

extern (C) nothrow @nogc
int
git_tag_lookup_prefix

Parameters

out_ libgit2_d.types.git_tag**

pointer to the looked up tag

repo libgit2_d.types.git_repository*

the repo to use when locating the tag.

id const(libgit2_d.oid.git_oid)*

identity of the tag to locate.

len size_t

the length of the short identifier

Return Value

Type: int

0 or an error code

Meta