Function gix_validate::reference::name

source ยท
pub fn name(path: &BStr) -> Result<&BStr, Error>
Expand description

Validate a reference name running all the tests in the book. This disallows lower-case references, but allows ones like HEAD.