| 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 |
GI.Ggit.Structs.FetchOptions
Description
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.
Constructors
| FetchOptions (ManagedPtr FetchOptions) |
Instances
| Eq FetchOptions Source # | |
Defined in GI.Ggit.Structs.FetchOptions | |
| GBoxed FetchOptions Source # | |
Defined in GI.Ggit.Structs.FetchOptions | |
| ManagedPtrNewtype FetchOptions Source # | |
Defined in GI.Ggit.Structs.FetchOptions Methods 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 Methods 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
Arguments
| :: (HasCallStack, MonadIO m) | |
| => FetchOptions |
|
| -> m (Maybe FetchOptions) | Returns: a newly allocated |
Copies fetchOptions into a newly allocated FetchOptions.
free
Arguments
| :: (HasCallStack, MonadIO m) | |
| => FetchOptions |
|
| -> m () |
Frees fetchOptions.
getDownloadTags
fetchOptionsGetDownloadTags Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => FetchOptions |
|
| -> m RemoteDownloadTagsType | Returns: a |
Get how tags are being handled when fetching/downloading.
getRemoteCallbacks
fetchOptionsGetRemoteCallbacks Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => FetchOptions |
|
| -> m (Maybe RemoteCallbacks) | Returns: the remote callbacks or |
Get the remote callbacks object or Nothing if not set.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m FetchOptions | Returns: a newly allocated |
Creates a new FetchOptions.
setDownloadTags
fetchOptionsSetDownloadTags Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => FetchOptions |
|
| -> RemoteDownloadTagsType |
|
| -> m () |
Set how tags are being handled when fetching/downloading.
setRemoteCallbacks
fetchOptionsSetRemoteCallbacks Source #
Arguments
| :: (HasCallStack, MonadIO m, IsRemoteCallbacks a) | |
| => FetchOptions |
|
| -> Maybe a |
|
| -> m () |
Set the fetch options object.