Function git_validate::reference::name_partial[][src]

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().