gi-ggit-1.0.14: libgit2-glib bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
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

HasParentTypes RebaseOperation Source # 
Instance details

Defined in GI.Ggit.Structs.RebaseOperation

IsGValue (Maybe RebaseOperation) Source #

Convert RebaseOperation to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Structs.RebaseOperation

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe RebaseOperation -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe RebaseOperation)

type ParentTypes RebaseOperation Source # 
Instance details

Defined in GI.Ggit.Structs.RebaseOperation

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

Methods

Click to display all available methods, including inherited ones

Expand

Methods

ref, unref.

Getters

getExec, getId, getOperationType.

Setters

None.

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.