Skip to main content

is_commit_hash

Function is_commit_hash 

Source
pub fn is_commit_hash(s: &str) -> bool
Expand description

Returns true if s could be an abbreviated or full git commit hash (7–40 lowercase or uppercase hex characters).