Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Represents the options used when doign a cherry-pick.
Synopsis
- newtype CherryPickOptions = CherryPickOptions (ManagedPtr CherryPickOptions)
- class (GObject o, IsDescendantOf CherryPickOptions o) => IsCherryPickOptions o
- toCherryPickOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m CherryPickOptions
- cherryPickOptionsGetCheckoutOptions :: (HasCallStack, MonadIO m, IsCherryPickOptions a) => a -> m CheckoutOptions
- cherryPickOptionsGetMainline :: (HasCallStack, MonadIO m, IsCherryPickOptions a) => a -> m Word32
- cherryPickOptionsGetMergeOptions :: (HasCallStack, MonadIO m, IsCherryPickOptions a) => a -> m MergeOptions
- cherryPickOptionsNew :: (HasCallStack, MonadIO m) => m CherryPickOptions
- cherryPickOptionsSetCheckoutOptions :: (HasCallStack, MonadIO m, IsCherryPickOptions a, IsCheckoutOptions b) => a -> Maybe b -> m ()
- cherryPickOptionsSetMainline :: (HasCallStack, MonadIO m, IsCherryPickOptions a) => a -> Word32 -> m ()
- cherryPickOptionsSetMergeOptions :: (HasCallStack, MonadIO m, IsCherryPickOptions a) => a -> Maybe MergeOptions -> m ()
- clearCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m ()
- constructCherryPickOptionsCheckoutOptions :: (IsCherryPickOptions o, MonadIO m, IsCheckoutOptions a) => a -> m (GValueConstruct o)
- getCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m CheckoutOptions
- setCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o, IsCheckoutOptions a) => o -> a -> m ()
- constructCherryPickOptionsMainline :: (IsCherryPickOptions o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getCherryPickOptionsMainline :: (MonadIO m, IsCherryPickOptions o) => o -> m Word32
- setCherryPickOptionsMainline :: (MonadIO m, IsCherryPickOptions o) => o -> Word32 -> m ()
- clearCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m ()
- constructCherryPickOptionsMergeOptions :: (IsCherryPickOptions o, MonadIO m) => MergeOptions -> m (GValueConstruct o)
- getCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m (Maybe MergeOptions)
- setCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> MergeOptions -> m ()
Exported types
newtype CherryPickOptions Source #
Memory-managed wrapper type.
CherryPickOptions (ManagedPtr CherryPickOptions) |
Instances
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
(GObject o, IsDescendantOf CherryPickOptions o) => IsCherryPickOptions o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getCheckoutOptions, getData, getMainline, getMergeOptions, getProperty, getQdata.
Setters
setCheckoutOptions, setData, setDataFull, setMainline, setMergeOptions, setProperty.
getCheckoutOptions
cherryPickOptionsGetCheckoutOptions Source #
:: (HasCallStack, MonadIO m, IsCherryPickOptions a) | |
=> a |
|
-> m CheckoutOptions | Returns: a |
Get the checkout options.
getMainline
cherryPickOptionsGetMainline Source #
:: (HasCallStack, MonadIO m, IsCherryPickOptions a) | |
=> a |
|
-> m Word32 | Returns: the mainline parent. |
Get the mainline parent to use when cherry-picking a merge commit.
getMergeOptions
cherryPickOptionsGetMergeOptions Source #
:: (HasCallStack, MonadIO m, IsCherryPickOptions a) | |
=> a |
|
-> m MergeOptions | Returns: a |
Get the merge options.
new
:: (HasCallStack, MonadIO m) | |
=> m CherryPickOptions | Returns: a |
Create a new cherry-pick options object.
setCheckoutOptions
cherryPickOptionsSetCheckoutOptions Source #
:: (HasCallStack, MonadIO m, IsCherryPickOptions a, IsCheckoutOptions b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Set the checkout options.
setMainline
cherryPickOptionsSetMainline Source #
:: (HasCallStack, MonadIO m, IsCherryPickOptions a) | |
=> a |
|
-> Word32 |
|
-> m () |
Set the mainline parent to use when cherry-picking a merge commit.
setMergeOptions
cherryPickOptionsSetMergeOptions Source #
:: (HasCallStack, MonadIO m, IsCherryPickOptions a) | |
=> a |
|
-> Maybe 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 ]