Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Represents options for a submodule update.
Synopsis
- newtype SubmoduleUpdateOptions = SubmoduleUpdateOptions (ManagedPtr SubmoduleUpdateOptions)
- class (GObject o, IsDescendantOf SubmoduleUpdateOptions o) => IsSubmoduleUpdateOptions o
- toSubmoduleUpdateOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> m SubmoduleUpdateOptions
- noSubmoduleUpdateOptions :: Maybe SubmoduleUpdateOptions
- submoduleUpdateOptionsGetCheckoutOptions :: (HasCallStack, MonadIO m, IsSubmoduleUpdateOptions a) => a -> m (Maybe CheckoutOptions)
- submoduleUpdateOptionsGetFetchOptions :: (HasCallStack, MonadIO m, IsSubmoduleUpdateOptions a) => a -> m FetchOptions
- submoduleUpdateOptionsNew :: (HasCallStack, MonadIO m) => m (Maybe SubmoduleUpdateOptions)
- submoduleUpdateOptionsSetCheckoutOptions :: (HasCallStack, MonadIO m, IsSubmoduleUpdateOptions a, IsCheckoutOptions b) => a -> Maybe b -> m ()
- submoduleUpdateOptionsSetFetchOptions :: (HasCallStack, MonadIO m, IsSubmoduleUpdateOptions a) => a -> Maybe FetchOptions -> m ()
- clearSubmoduleUpdateOptionsCheckoutOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> m ()
- constructSubmoduleUpdateOptionsCheckoutOptions :: (IsSubmoduleUpdateOptions o, IsCheckoutOptions a) => a -> IO (GValueConstruct o)
- getSubmoduleUpdateOptionsCheckoutOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> m (Maybe CheckoutOptions)
- setSubmoduleUpdateOptionsCheckoutOptions :: (MonadIO m, IsSubmoduleUpdateOptions o, IsCheckoutOptions a) => o -> a -> m ()
- clearSubmoduleUpdateOptionsFetchOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> m ()
- constructSubmoduleUpdateOptionsFetchOptions :: IsSubmoduleUpdateOptions o => FetchOptions -> IO (GValueConstruct o)
- getSubmoduleUpdateOptionsFetchOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> m (Maybe FetchOptions)
- setSubmoduleUpdateOptionsFetchOptions :: (MonadIO m, IsSubmoduleUpdateOptions o) => o -> FetchOptions -> m ()
Exported types
newtype SubmoduleUpdateOptions Source #
Memory-managed wrapper type.
Instances
class (GObject o, IsDescendantOf SubmoduleUpdateOptions o) => IsSubmoduleUpdateOptions o Source #
Type class for types which can be safely cast to SubmoduleUpdateOptions
, for instance with toSubmoduleUpdateOptions
.
Instances
(GObject o, IsDescendantOf SubmoduleUpdateOptions o) => IsSubmoduleUpdateOptions o Source # | |
Defined in GI.Ggit.Objects.SubmoduleUpdateOptions |
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
.
noSubmoduleUpdateOptions :: Maybe SubmoduleUpdateOptions Source #
A convenience alias for Nothing
:: Maybe
SubmoduleUpdateOptions
.
Methods
getCheckoutOptions
submoduleUpdateOptionsGetCheckoutOptions Source #
:: (HasCallStack, MonadIO m, IsSubmoduleUpdateOptions a) | |
=> a |
|
-> m (Maybe CheckoutOptions) | Returns: a |
Get the checkout options.
getFetchOptions
submoduleUpdateOptionsGetFetchOptions :: (HasCallStack, MonadIO m, IsSubmoduleUpdateOptions a) => a -> m FetchOptions Source #
No description available in the introspection data.
new
submoduleUpdateOptionsNew Source #
:: (HasCallStack, MonadIO m) | |
=> m (Maybe SubmoduleUpdateOptions) | Returns: a |
Creates a new submodule options object.
setCheckoutOptions
submoduleUpdateOptionsSetCheckoutOptions Source #
:: (HasCallStack, MonadIO m, IsSubmoduleUpdateOptions a, IsCheckoutOptions b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Set the checkout options.
setFetchOptions
submoduleUpdateOptionsSetFetchOptions Source #
:: (HasCallStack, MonadIO m, IsSubmoduleUpdateOptions a) | |
=> a |
|
-> Maybe 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, IsCheckoutOptions a) => a -> IO (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 => FetchOptions -> IO (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 ]