pub fn is_root_commit(repo_path: &Path, commit_oid: &str) -> bool
Returns whether the specified commit OID has no parents (i.e. it is the root commit).