git_reference_is_tag

Check if a reference is a tag

extern (C) nothrow @nogc
int
git_reference_is_tag

Parameters

ref_ const(libgit2_d.types.git_reference)*

A git reference

Return Value

Type: int

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

Meta