Skip to main content

has_unmerged_paths

Function has_unmerged_paths 

Source
pub async fn has_unmerged_paths(repo_path: PathBuf) -> Result<bool, GitError>
Expand description

Re-exported rebase/conflict APIs. Returns whether unresolved paths still exist in the index.

§Arguments

  • repo_path - Path to the git repository or worktree

§Returns

true when unresolved paths exist, false otherwise.

§Errors

Returns a GitError when conflicted files cannot be queried.