gi-ggit-1.0.1: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Objects.CherryPickOptions

Contents

Description

Represents the options used when doign a cherry-pick.

Synopsis

Exported types

Methods

getCheckoutOptions

cherryPickOptionsGetCheckoutOptions Source #

Arguments

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

options: a CherryPickOptions.

-> m CheckoutOptions

Returns: a CheckoutOptions.

Get the checkout options.

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

mainline

mergeOptions