gi-ggit-1.0.7: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Structs.FetchOptions

Contents

Description

Represents a git fetch options.

Synopsis

Exported types

newtype FetchOptions Source #

Memory-managed wrapper type.

Instances
BoxedObject FetchOptions Source # 
Instance details

Defined in GI.Ggit.Structs.FetchOptions

Methods

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.