gi-ggit-1.0.11: 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.RevertOptions

Description

Represents the options used when reverting.

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

copy, free.

Getters

None.

Setters

None.

copy

revertOptionsCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RevertOptions

revertOptions: a RevertOptions.

-> m (Maybe RevertOptions)

Returns: a newly allocated RevertOptions or Nothing.

Copies revertOptions into a newly allocated RevertOptions.

free

revertOptionsFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RevertOptions

revertOptions: a RevertOptions.

-> m () 

Frees revertOptions.

new

revertOptionsNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsCheckoutOptions a) 
=> Word32

mainline: the mainline.

-> Maybe MergeOptions

mergeOptions: a MergeOptions.

-> Maybe a

checkoutOptions: a CheckoutOptions.

-> m (Maybe RevertOptions)

Returns: a RevertOptions or Nothing.

Create a new RevertOptions. Note that the passed in mergeOptions and checkoutOptions are copied by this function, and alterations in either after this call are therefore not reflected in the revert options.

The mainline indicates which parent to use for the revert when reverting a merge commit.