gi-ggit-1.0.1: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Structs.RebaseOperation

Contents

Description

Represents a rebase operation.

Synopsis

Exported types

Methods

getExec

rebaseOperationGetExec Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RebaseOperation

rebaseOperation: a RebaseOperation.

-> m Text

Returns: the executable the user has requested be run.

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

getId

rebaseOperationGetId Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RebaseOperation

rebaseOperation: a RebaseOperation.

-> m OId

Returns: the commit ID being cherry-picked.

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

getOperationType

rebaseOperationGetOperationType Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RebaseOperation

rebaseOperation: a RebaseOperation.

-> m RebaseOperationType

Returns: a RebaseOperationType.

Gets the type of rebase operation.

ref

rebaseOperationRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RebaseOperation

rebaseOperation: a RebaseOperation.

-> m RebaseOperation

Returns: a newly allocated RebaseOperation.

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

unref

rebaseOperationUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RebaseOperation

rebaseOperation: a RebaseOperation.

-> m () 

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