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.Objects.CherryPickOptions

Description

Represents the options used when doign a cherry-pick.

Synopsis

Exported types

newtype CherryPickOptions Source #

Memory-managed wrapper type.

Constructors

CherryPickOptions (ManagedPtr CherryPickOptions) 

Instances

Instances details
Eq CherryPickOptions Source # 
Instance details

Defined in GI.Ggit.Objects.CherryPickOptions

GObject CherryPickOptions Source # 
Instance details

Defined in GI.Ggit.Objects.CherryPickOptions

ManagedPtrNewtype CherryPickOptions Source # 
Instance details

Defined in GI.Ggit.Objects.CherryPickOptions

TypedObject CherryPickOptions Source # 
Instance details

Defined in GI.Ggit.Objects.CherryPickOptions

Methods

glibType :: IO GType

HasParentTypes CherryPickOptions Source # 
Instance details

Defined in GI.Ggit.Objects.CherryPickOptions

IsGValue (Maybe CherryPickOptions) Source #

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

Instance details

Defined in GI.Ggit.Objects.CherryPickOptions

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes CherryPickOptions Source # 
Instance details

Defined in GI.Ggit.Objects.CherryPickOptions

type ParentTypes CherryPickOptions = '[Object]

class (GObject o, IsDescendantOf CherryPickOptions o) => IsCherryPickOptions o Source #

Type class for types which can be safely cast to CherryPickOptions, for instance with toCherryPickOptions.

Instances

Instances details
(GObject o, IsDescendantOf CherryPickOptions o) => IsCherryPickOptions o Source # 
Instance details

Defined in GI.Ggit.Objects.CherryPickOptions

toCherryPickOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m CherryPickOptions Source #

Cast to CherryPickOptions, for types for which this is known to be safe. For general casts, use castTo.

Methods

getCheckoutOptions

getMainline

cherryPickOptionsGetMainline Source #

Arguments

:: (HasCallStack, MonadIO m, IsCherryPickOptions a) 
=> a

options: a CherryPickOptions.

-> m Word32

Returns: the mainline parent.

Get the mainline parent to use when cherry-picking a merge commit.

getMergeOptions

cherryPickOptionsGetMergeOptions Source #

Arguments

:: (HasCallStack, MonadIO m, IsCherryPickOptions a) 
=> a

options: a CherryPickOptions.

-> m MergeOptions

Returns: a MergeOptions.

Get the merge options.

new

cherryPickOptionsNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m CherryPickOptions

Returns: a CherryPickOptions.

Create a new cherry-pick options object.

setCheckoutOptions

cherryPickOptionsSetCheckoutOptions Source #

Arguments

:: (HasCallStack, MonadIO m, IsCherryPickOptions a, IsCheckoutOptions b) 
=> a

options: a CherryPickOptions.

-> Maybe b

checkoutOptions: a CheckoutOptions.

-> m () 

Set the checkout options.

setMainline

cherryPickOptionsSetMainline Source #

Arguments

:: (HasCallStack, MonadIO m, IsCherryPickOptions a) 
=> a

options: a CherryPickOptions.

-> Word32

mainline: the mainline parent.

-> m () 

Set the mainline parent to use when cherry-picking a merge commit.

setMergeOptions

cherryPickOptionsSetMergeOptions Source #

Arguments

:: (HasCallStack, MonadIO m, IsCherryPickOptions a) 
=> a

options: a CherryPickOptions.

-> Maybe MergeOptions

mergeOptions: a MergeOptions.

-> m () 

Set the merge options.

Properties

checkoutOptions

No description available in the introspection data.

clearCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m () Source #

Set the value of the “checkout-options” property to Nothing. When overloading is enabled, this is equivalent to

clear #checkoutOptions

constructCherryPickOptionsCheckoutOptions :: (IsCherryPickOptions o, MonadIO m, IsCheckoutOptions a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “checkout-options” property. This is rarely needed directly, but it is used by new.

getCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m CheckoutOptions Source #

Get the value of the “checkout-options” property. When overloading is enabled, this is equivalent to

get cherryPickOptions #checkoutOptions

setCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o, IsCheckoutOptions a) => o -> a -> m () Source #

Set the value of the “checkout-options” property. When overloading is enabled, this is equivalent to

set cherryPickOptions [ #checkoutOptions := value ]

mainline

No description available in the introspection data.

constructCherryPickOptionsMainline :: (IsCherryPickOptions o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “mainline” property. This is rarely needed directly, but it is used by new.

getCherryPickOptionsMainline :: (MonadIO m, IsCherryPickOptions o) => o -> m Word32 Source #

Get the value of the “mainline” property. When overloading is enabled, this is equivalent to

get cherryPickOptions #mainline

setCherryPickOptionsMainline :: (MonadIO m, IsCherryPickOptions o) => o -> Word32 -> m () Source #

Set the value of the “mainline” property. When overloading is enabled, this is equivalent to

set cherryPickOptions [ #mainline := value ]

mergeOptions

No description available in the introspection data.

clearCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m () Source #

Set the value of the “merge-options” property to Nothing. When overloading is enabled, this is equivalent to

clear #mergeOptions

constructCherryPickOptionsMergeOptions :: (IsCherryPickOptions o, MonadIO m) => MergeOptions -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “merge-options” property. This is rarely needed directly, but it is used by new.

getCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m (Maybe MergeOptions) Source #

Get the value of the “merge-options” property. When overloading is enabled, this is equivalent to

get cherryPickOptions #mergeOptions

setCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> MergeOptions -> m () Source #

Set the value of the “merge-options” property. When overloading is enabled, this is equivalent to

set cherryPickOptions [ #mergeOptions := value ]