libgit2

git_rebase_operation_byindex

Version:

Gets the rebase operation specified by the given index.

Signature

git_rebase_operation *git_rebase_operation_byindex(git_rebase *rebase, size_t idx);

Parameters

In
rebase

The in-progress rebase

size_t
In
idx

The index of the rebase operation to retrieve

Returns

The rebase operation or NULL if idx was out of bounds

Versions