Function git_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.