git_rebase_operation_current

Gets the index of the rebase operation that is currently being applied. If the first operation has not yet been applied (because you have called init but not yet next) then this returns GIT_REBASE_NO_OPERATION.

extern (C) nothrow @nogc
size_t
git_rebase_operation_current

Parameters

rebase libgit2_d.types.git_rebase*

The in-progress rebase

Return Value

Type: size_t

The index of the rebase operation currently being applied.

Meta