OperationAt gets the rebase operation specified by the given index.
(index uint)
| 345 | |
| 346 | // OperationAt gets the rebase operation specified by the given index. |
| 347 | func (rebase *Rebase) OperationAt(index uint) *RebaseOperation { |
| 348 | operation := C.git_rebase_operation_byindex(rebase.ptr, C.size_t(index)) |
| 349 | |
| 350 | return newRebaseOperationFromC(operation) |
| 351 | } |
| 352 | |
| 353 | // CurrentOperationIndex gets the index of the rebase operation that is |
| 354 | // currently being applied. There is also an error returned for API |