gi-ggit-1.0.8: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Structs.FetchOptions

Contents

Description

Represents a git fetch options.

Synopsis

Exported types

newtype FetchOptions Source #

Memory-managed wrapper type.

Constructors

FetchOptions (ManagedPtr FetchOptions) 
Instances
Eq FetchOptions Source # 
Instance details

Defined in GI.Ggit.Structs.FetchOptions

Methods

(==) :: FetchOptions -> FetchOptions -> Bool

(/=) :: FetchOptions -> FetchOptions -> Bool

BoxedObject FetchOptions Source # 
Instance details

Defined in GI.Ggit.Structs.FetchOptions

Methods

boxedType :: FetchOptions -> IO GType

IsGValue FetchOptions Source #

Convert FetchOptions to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Structs.FetchOptions

Methods

toGValue :: FetchOptions -> IO GValue

fromGValue :: GValue -> IO FetchOptions

noFetchOptions :: Maybe FetchOptions Source #

A convenience alias for Nothing :: Maybe FetchOptions.

Methods

Overloaded methods

copy

fetchOptionsCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FetchOptions

fetchOptions: a tFetchOptions.

-> m (Maybe FetchOptions)

Returns: a newly allocated tFetchOptions or Nothing.

Copies fetchOptions into a newly allocated tFetchOptions.

free

fetchOptionsFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FetchOptions

fetchOptions: a tFetchOptions.

-> m () 

Frees fetchOptions.

getDownloadTags

fetchOptionsGetDownloadTags Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FetchOptions

options: a tFetchOptions.

-> m RemoteDownloadTagsType

Returns: a tRemoteDownloadTagsType.

Get how tags are being handled when fetching/downloading.

getRemoteCallbacks

fetchOptionsGetRemoteCallbacks Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FetchOptions

options: a tFetchOptions.

-> m (Maybe RemoteCallbacks)

Returns: the remote callbacks or Nothing.

Get the remote callbacks object or Nothing if not set.

new

fetchOptionsNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m FetchOptions

Returns: a newly allocated tFetchOptions.

Creates a new tFetchOptions.

setDownloadTags

fetchOptionsSetDownloadTags Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FetchOptions

options: a tFetchOptions.

-> RemoteDownloadTagsType

downloadTags: a tRemoteDownloadTagsType.

-> m () 

Set how tags are being handled when fetching/downloading.

setRemoteCallbacks

fetchOptionsSetRemoteCallbacks Source #

Arguments

:: (HasCallStack, MonadIO m, IsRemoteCallbacks a) 
=> FetchOptions

options: a tFetchOptions.

-> Maybe a

callbacks: a tRemoteCallbacks or Nothing.

-> m () 

Set the fetch options object.