Skip to main content

is_root_commit

Function is_root_commit 

Source
pub fn is_root_commit(repo_path: &Path, commit_oid: &str) -> bool
Expand description

Returns whether the specified commit OID has no parents (i.e. it is the root commit).