build_helper::git

Function rev_exists

Source
pub fn rev_exists(rev: &str, git_dir: Option<&Path>) -> Result<bool, String>