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

Description

Represents options for a submodule update.

Synopsis

Exported types

class (GObject o, IsDescendantOf SubmoduleUpdateOptions o) => IsSubmoduleUpdateOptions o Source #

Type class for types which can be safely cast to SubmoduleUpdateOptions, for instance with toSubmoduleUpdateOptions.

toSubmoduleUpdateOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> m SubmoduleUpdateOptions Source #

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

Methods

getCheckoutOptions

getFetchOptions

submoduleUpdateOptionsGetFetchOptions :: (HasCallStack, MonadIO m, IsSubmoduleUpdateOptions a) => a -> m FetchOptions Source #

No description available in the introspection data.

new

submoduleUpdateOptionsNew Source #

Creates a new submodule options object.

setCheckoutOptions

submoduleUpdateOptionsSetCheckoutOptions Source #

Arguments

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

options: a SubmoduleUpdateOptions.

-> Maybe b

checkoutOptions: a CheckoutOptions.

-> m () 

Set the checkout options.

setFetchOptions

submoduleUpdateOptionsSetFetchOptions Source #

Arguments

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

options: a SubmoduleUpdateOptions.

-> Maybe FetchOptions

fetchOptions: a FetchOptions.

-> m () 

Sets the fetch options.

Properties

checkoutOptions

No description available in the introspection data.

clearSubmoduleUpdateOptionsCheckoutOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> m () Source #

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

clear #checkoutOptions

constructSubmoduleUpdateOptionsCheckoutOptions :: (IsSubmoduleUpdateOptions 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.

getSubmoduleUpdateOptionsCheckoutOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> m (Maybe CheckoutOptions) Source #

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

get submoduleUpdateOptions #checkoutOptions

setSubmoduleUpdateOptionsCheckoutOptions :: (MonadIO m, IsSubmoduleUpdateOptions o, IsCheckoutOptions a) => o -> a -> m () Source #

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

set submoduleUpdateOptions [ #checkoutOptions := value ]

fetchOptions

No description available in the introspection data.

clearSubmoduleUpdateOptionsFetchOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> m () Source #

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

clear #fetchOptions

constructSubmoduleUpdateOptionsFetchOptions :: (IsSubmoduleUpdateOptions o, MonadIO m) => FetchOptions -> m (GValueConstruct o) Source #

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

getSubmoduleUpdateOptionsFetchOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> m (Maybe FetchOptions) Source #

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

get submoduleUpdateOptions #fetchOptions

setSubmoduleUpdateOptionsFetchOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> FetchOptions -> m () Source #

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

set submoduleUpdateOptions [ #fetchOptions := value ]