git_reference_is_tag

Check if a reference is a tag

extern (C) nothrow @nogc public
int
git_reference_is_tag

Parameters

ref_ const(libgit2.types.git_reference)*

A git reference

Return Value

Type: int

1 when the reference lives in the refs/tags namespace; 0 otherwise.

Meta