Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Represents a git fetch options.
Synopsis
- newtype FetchOptions = FetchOptions (ManagedPtr 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.
FetchOptions (ManagedPtr FetchOptions) |
Instances
Eq FetchOptions Source # | |
Defined in GI.Ggit.Structs.FetchOptions (==) :: FetchOptions -> FetchOptions -> Bool # (/=) :: FetchOptions -> FetchOptions -> Bool # | |
GBoxed FetchOptions Source # | |
Defined in GI.Ggit.Structs.FetchOptions | |
ManagedPtrNewtype FetchOptions Source # | |
Defined in GI.Ggit.Structs.FetchOptions toManagedPtr :: FetchOptions -> ManagedPtr FetchOptions | |
TypedObject FetchOptions Source # | |
Defined in GI.Ggit.Structs.FetchOptions | |
HasParentTypes FetchOptions Source # | |
Defined in GI.Ggit.Structs.FetchOptions | |
IsGValue (Maybe FetchOptions) Source # | Convert |
Defined in GI.Ggit.Structs.FetchOptions gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe FetchOptions -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe FetchOptions) | |
type ParentTypes FetchOptions Source # | |
Defined in GI.Ggit.Structs.FetchOptions |
Methods
Click to display all available methods, including inherited ones
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.