gix_validate::reference

Function name_partial

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

Validate a partial reference name. As it is assumed to be partial, names like some-name is allowed even though these would be disallowed with when using name().