Expand description
Modules§
Functions§
- Validate a reference name running all the tests in the book. This disallows lower-case references like
lower, but also allows ones likeHEAD, andrefs/lower. - Validate a partial reference name. As it is assumed to be partial, names like
some-nameis allowed even though these would be disallowed with when usingname(). - The infallible version of
name_partial()which instead of failing, alterspathand returns it to be a valid partial name, which would also passname_partial().