git_tag_name_is_valid

Determine whether a tag name is valid, meaning that (when prefixed with refs/tags/) that it is a valid reference name, and that any additional tag name restrictions are imposed (eg, it cannot start with a -).

extern (C) nothrow @nogc public
int
git_tag_name_is_valid
(
int* valid
,
const(char)* name
)

Parameters

valid int*

output pointer to set with validity of given tag name

name const(char)*

a tag name to test

Return Value

Type: int

0 on success or an error code

Meta