gix_validate::reference

Function 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 like lower, but also allows ones like HEAD, and refs/lower.