Skip to main content

list_conflicted_files

Function list_conflicted_files 

Source
pub async fn list_conflicted_files(
    repo_path: PathBuf,
) -> Result<Vec<String>, GitError>
Expand description

Re-exported rebase/conflict APIs. Returns conflicted file paths for the current index.

§Arguments

  • repo_path - Path to the git repository or worktree

§Returns

A list of relative file paths with unresolved conflicts.

§Errors

Returns a GitError if invoking git diff --name-only --diff-filter=U fails.