Skip to main content

validate_ref_entry

Function validate_ref_entry 

Source
pub fn validate_ref_entry(ref_name: &str, oid: &str) -> Result<(), SigRefsError>
Expand description

Validates a Git ref name (full ref path such as refs/heads/main) and lowercase hex OID (40 or 64 chars).