Function git_validate::tag::name[][src]

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

Assure the given bytes resemble a valid git ref name, which are returned unchanged on success.