Ggit.RebaseOperation

Fields

None

Methods

get_exec ()

get_id ()

get_operation_type ()

ref ()

unref ()

Details

class Ggit.RebaseOperation

Represents a rebase operation.

get_exec()
Returns:

the executable the user has requested be run or None.

Return type:

str or None

Gets the executable the user has requested be run. This will only be populated for operations of type Ggit.RebaseOperationType.EXEC.

get_id()
Returns:

the commit ID being cherry-picked or None.

Return type:

Ggit.OId or None

Gets the commit ID being cherry-picked. This will be populated for all operations except those of type Ggit.RebaseOperationType.EXEC.

get_operation_type()
Returns:

a Ggit.RebaseOperationType.

Return type:

Ggit.RebaseOperationType

Gets the type of rebase operation.

ref()
Returns:

a newly allocated Ggit.RebaseOperation or None.

Return type:

Ggit.RebaseOperation or None

Atomically increments the reference count of self by one. This function is MT-safe and may be called from any thread.

unref()

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is freed.