gi-ggit-1.0.9: libgit2-glib bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Structs.RebaseOperation

Description

Represents a rebase operation.

Synopsis

Exported types

newtype RebaseOperation Source #

Memory-managed wrapper type.

Constructors

RebaseOperation (ManagedPtr RebaseOperation) 

Instances

Instances details
Eq RebaseOperation Source # 
Instance details

Defined in GI.Ggit.Structs.RebaseOperation

GBoxed RebaseOperation Source # 
Instance details

Defined in GI.Ggit.Structs.RebaseOperation

ManagedPtrNewtype RebaseOperation Source # 
Instance details

Defined in GI.Ggit.Structs.RebaseOperation

TypedObject RebaseOperation Source # 
Instance details

Defined in GI.Ggit.Structs.RebaseOperation

Methods

glibType :: IO GType

IsGValue RebaseOperation Source #

Convert RebaseOperation to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Structs.RebaseOperation

Methods

toGValue :: RebaseOperation -> IO GValue

fromGValue :: GValue -> IO RebaseOperation

HasParentTypes RebaseOperation Source # 
Instance details

Defined in GI.Ggit.Structs.RebaseOperation

type ParentTypes RebaseOperation Source # 
Instance details

Defined in GI.Ggit.Structs.RebaseOperation

type ParentTypes RebaseOperation = '[] :: [Type]

Methods

Overloaded methods

getExec

rebaseOperationGetExec Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RebaseOperation

rebaseOperation: a RebaseOperation.

-> m (Maybe Text)

Returns: the executable the user has requested be run or Nothing.

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 (Maybe OId)

Returns: the commit ID being cherry-picked or Nothing.

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 (Maybe RebaseOperation)

Returns: a newly allocated RebaseOperation or Nothing.

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.