| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Ggit.Objects.CherryPickOptions
Contents
Description
Represents the options used when doign a cherry-pick.
- newtype CherryPickOptions = CherryPickOptions (ManagedPtr CherryPickOptions)
- class GObject o => IsCherryPickOptions o
- toCherryPickOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m CherryPickOptions
- noCherryPickOptions :: Maybe 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, IsCheckoutOptions a) => a -> IO (GValueConstruct o)
- getCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m CheckoutOptions
- setCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o, IsCheckoutOptions a) => o -> a -> m ()
- constructCherryPickOptionsMainline :: IsCherryPickOptions o => Word32 -> IO (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 => MergeOptions -> IO (GValueConstruct o)
- getCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m (Maybe MergeOptions)
- setCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> MergeOptions -> m ()
Exported types
newtype CherryPickOptions Source #
Constructors
| CherryPickOptions (ManagedPtr CherryPickOptions) |
class GObject o => IsCherryPickOptions o Source #
Instances
toCherryPickOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m CherryPickOptions Source #
Methods
getCheckoutOptions
cherryPickOptionsGetCheckoutOptions Source #
Arguments
| :: (HasCallStack, MonadIO m, IsCherryPickOptions a) | |
| => a |
|
| -> m CheckoutOptions | Returns: a |
Get the checkout options.
getMainline
cherryPickOptionsGetMainline Source #
Arguments
| :: (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 #
Arguments
| :: (HasCallStack, MonadIO m, IsCherryPickOptions a) | |
| => a |
|
| -> m MergeOptions | Returns: a |
Get the merge options.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m CherryPickOptions | Returns: a |
Create a new cherry-pick options object.
setCheckoutOptions
cherryPickOptionsSetCheckoutOptions Source #
Arguments
| :: (HasCallStack, MonadIO m, IsCherryPickOptions a, IsCheckoutOptions b) | |
| => a |
|
| -> Maybe b |
|
| -> m () |
Set the checkout options.
setMainline
cherryPickOptionsSetMainline Source #
Arguments
| :: (HasCallStack, MonadIO m, IsCherryPickOptions a) | |
| => a |
|
| -> Word32 |
|
| -> m () |
Set the mainline parent to use when cherry-picking a merge commit.
setMergeOptions
cherryPickOptionsSetMergeOptions Source #
Arguments
| :: (HasCallStack, MonadIO m, IsCherryPickOptions a) | |
| => a |
|
| -> Maybe MergeOptions |
|
| -> m () |
Set the merge options.
Properties
checkoutOptions
clearCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m () Source #
constructCherryPickOptionsCheckoutOptions :: (IsCherryPickOptions o, IsCheckoutOptions a) => a -> IO (GValueConstruct o) Source #
getCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m CheckoutOptions Source #
setCherryPickOptionsCheckoutOptions :: (MonadIO m, IsCherryPickOptions o, IsCheckoutOptions a) => o -> a -> m () Source #
mainline
constructCherryPickOptionsMainline :: IsCherryPickOptions o => Word32 -> IO (GValueConstruct o) Source #
getCherryPickOptionsMainline :: (MonadIO m, IsCherryPickOptions o) => o -> m Word32 Source #
setCherryPickOptionsMainline :: (MonadIO m, IsCherryPickOptions o) => o -> Word32 -> m () Source #
mergeOptions
clearCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m () Source #
constructCherryPickOptionsMergeOptions :: IsCherryPickOptions o => MergeOptions -> IO (GValueConstruct o) Source #
getCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> m (Maybe MergeOptions) Source #
setCherryPickOptionsMergeOptions :: (MonadIO m, IsCherryPickOptions o) => o -> MergeOptions -> m () Source #