Method

GgitRebaseget_operation_by_index

Declaration [src]

GgitRebaseOperation*
ggit_rebase_get_operation_by_index (
  GgitRebase* rebase,
  gsize idx
)

Description [src]

Gets the rebase operation specified by idx.

Parameters

idx gsize
 

The index of the rebase operation to retrieve.

Return value

Returns: GgitRebaseOperation
 

The rebase operation or NULL if idx was out of bounds.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.