gix_validate::tag

Function name

Source
pub fn name(input: &BStr) -> Result<&BStr, Error>
Expand description

Assure the given input resemble a valid git tag name, which is returned unchanged on success. Tag names are provided as names, like v1.0 or alpha-1, without paths.