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 |
Represents a git fetch options.
Synopsis
- newtype FetchOptions = FetchOptions (ManagedPtr FetchOptions)
- noFetchOptions :: Maybe FetchOptions
- fetchOptionsCopy :: (HasCallStack, MonadIO m) => FetchOptions -> m (Maybe FetchOptions)
- fetchOptionsFree :: (HasCallStack, MonadIO m) => FetchOptions -> m ()
- fetchOptionsGetDownloadTags :: (HasCallStack, MonadIO m) => FetchOptions -> m RemoteDownloadTagsType
- fetchOptionsGetRemoteCallbacks :: (HasCallStack, MonadIO m) => FetchOptions -> m (Maybe RemoteCallbacks)
- fetchOptionsNew :: (HasCallStack, MonadIO m) => m FetchOptions
- fetchOptionsSetDownloadTags :: (HasCallStack, MonadIO m) => FetchOptions -> RemoteDownloadTagsType -> m ()
- fetchOptionsSetRemoteCallbacks :: (HasCallStack, MonadIO m, IsRemoteCallbacks a) => FetchOptions -> Maybe a -> m ()
Exported types
newtype FetchOptions Source #
Memory-managed wrapper type.
Instances
BoxedObject FetchOptions Source # | |
Defined in GI.Ggit.Structs.FetchOptions boxedType :: FetchOptions -> IO GType # |
noFetchOptions :: Maybe FetchOptions Source #
A convenience alias for Nothing
:: Maybe
FetchOptions
.
Methods
copy
:: (HasCallStack, MonadIO m) | |
=> FetchOptions |
|
-> m (Maybe FetchOptions) | Returns: a newly allocated |
Copies fetchOptions
into a newly allocated FetchOptions
.
free
:: (HasCallStack, MonadIO m) | |
=> FetchOptions |
|
-> m () |
Frees fetchOptions
.
getDownloadTags
fetchOptionsGetDownloadTags Source #
:: (HasCallStack, MonadIO m) | |
=> FetchOptions |
|
-> m RemoteDownloadTagsType | Returns: a |
Get how tags are being handled when fetching/downloading.
getRemoteCallbacks
fetchOptionsGetRemoteCallbacks Source #
:: (HasCallStack, MonadIO m) | |
=> FetchOptions |
|
-> m (Maybe RemoteCallbacks) | Returns: the remote callbacks or |
Get the remote callbacks object or Nothing
if not set.
new
:: (HasCallStack, MonadIO m) | |
=> m FetchOptions | Returns: a newly allocated |
Creates a new FetchOptions
.
setDownloadTags
fetchOptionsSetDownloadTags Source #
:: (HasCallStack, MonadIO m) | |
=> FetchOptions |
|
-> RemoteDownloadTagsType |
|
-> m () |
Set how tags are being handled when fetching/downloading.
setRemoteCallbacks
fetchOptionsSetRemoteCallbacks Source #
:: (HasCallStack, MonadIO m, IsRemoteCallbacks a) | |
=> FetchOptions |
|
-> Maybe a |
|
-> m () |
Set the fetch options object.