pub fn rebase_in_progress() -> Result<bool>Expand description
Check if a rebase is currently in progress.
This function checks the repository state to determine if a rebase operation is in progress. This is useful for detecting interrupted rebases that need to be resumed or aborted.
ยงReturns
Returns Ok(true) if a rebase is in progress, Ok(false) otherwise,
or an error if the repository cannot be accessed.