pub fn name_partial(path: &BStr) -> Result<&BStr, Error>
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().
some-name
name()