Skip to main content

validate_ref

Function validate_ref 

Source
pub fn validate_ref(r: &str) -> Result<()>
Expand description

A branch, tag or SHA, as git’s check-ref-format would take it, minus anything that could read as an option.