pub fn name(input: &BStr) -> Result<&BStr, Error>
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.
input
v1.0
alpha-1