pub fn check_ref_format(opts: Options, s: &str) -> Result<(), Error>
Validate that a string slice is a valid refname.