pub async fn in_progress_operation(
repo_path: PathBuf,
) -> Result<Option<InProgressGitOperation>, GitError>Expand description
Re-exported rebase/conflict APIs.
Returns the first detected in-progress git operation in repo_path.
§Arguments
repo_path- Path to the git repository or worktree
§Returns
An operation when rebase, merge, cherry-pick, or revert metadata exists.
§Errors
Returns a GitError when the git directory cannot be resolved.