Skip to main content

check_sha

Function check_sha 

Source
pub fn check_sha(sha: &str) -> Result<()>
Expand description

A git object id: 40 (SHA-1) or 64 (SHA-256) lowercase hex. Checked before it goes into a URL or a git command line.