gi-ggit-1.0.12: libgit2-glib bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Ggit.Structs.FetchOptions

Description

Represents a git fetch options.

Synopsis

Exported types

newtype FetchOptions Source #

Memory-managed wrapper type.

Constructors

FetchOptions (ManagedPtr FetchOptions) 

Instances

Instances details
Eq FetchOptions Source # 
Instance details

Defined in GI.Ggit.Structs.FetchOptions

GBoxed FetchOptions Source # 
Instance details

Defined in GI.Ggit.Structs.FetchOptions

ManagedPtrNewtype FetchOptions Source # 
Instance details

Defined in GI.Ggit.Structs.FetchOptions

Methods

toManagedPtr :: FetchOptions -> ManagedPtr FetchOptions

TypedObject FetchOptions Source # 
Instance details

Defined in GI.Ggit.Structs.FetchOptions

Methods

glibType :: IO GType

HasParentTypes FetchOptions Source # 
Instance details

Defined in GI.Ggit.Structs.FetchOptions

IsGValue (Maybe FetchOptions) Source #

Convert FetchOptions to and from GValue. See toGValue and fromGValue.

Instance details

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 # 
Instance details

Defined in GI.Ggit.Structs.FetchOptions

type ParentTypes FetchOptions = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

copy, free.

Getters

getDownloadTags, getRemoteCallbacks.

Setters

setDownloadTags, setRemoteCallbacks.

copy

fetchOptionsCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FetchOptions

fetchOptions: a FetchOptions.

-> m (Maybe FetchOptions)

Returns: a newly allocated FetchOptions or Nothing.

Copies fetchOptions into a newly allocated FetchOptions.

free

fetchOptionsFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FetchOptions

fetchOptions: a FetchOptions.

-> m () 

Frees fetchOptions.

getDownloadTags

fetchOptionsGetDownloadTags Source #

Get how tags are being handled when fetching/downloading.

getRemoteCallbacks

fetchOptionsGetRemoteCallbacks Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FetchOptions

options: a FetchOptions.

-> 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 FetchOptions.

Creates a new FetchOptions.

setDownloadTags

fetchOptionsSetDownloadTags Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FetchOptions

options: a FetchOptions.

-> RemoteDownloadTagsType

downloadTags: a RemoteDownloadTagsType.

-> m () 

Set how tags are being handled when fetching/downloading.

setRemoteCallbacks

fetchOptionsSetRemoteCallbacks Source #

Arguments

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

options: a FetchOptions.

-> Maybe a

callbacks: a RemoteCallbacks or Nothing.

-> m () 

Set the fetch options object.