gi-ggit-1.0.2: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Structs.TransferProgress

Contents

Description

Represents transfering progress.

Synopsis

Exported types

newtype TransferProgress Source #

Memory-managed wrapper type.

Methods

copy

transferProgressCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TransferProgress

progress: a TransferProgress.

-> m (Maybe TransferProgress)

Returns: a newly allocated TransferProgress or Nothing.

Copies progress into a newly allocated TransferProgress.

free

transferProgressFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TransferProgress

progress: a TransferProgress.

-> m () 

Frees progress.

getIndexedObjects

transferProgressGetIndexedObjects Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TransferProgress

progress: a TransferProgress.

-> m Word32

Returns: the indexed objects of the transfer.

Gets the indexed objects of the transfer.

getReceivedBytes

transferProgressGetReceivedBytes Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TransferProgress

progress: a TransferProgress.

-> m Word64

Returns: the received bytes of the transfer.

Gets the received bytes of the transfer.

getReceivedObjects

transferProgressGetReceivedObjects Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TransferProgress

progress: a TransferProgress.

-> m Word32

Returns: the received objects of the transfer.

Gets the received objects of the transfer.

getTotalObjects

transferProgressGetTotalObjects Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TransferProgress

progress: a TransferProgress.

-> m Word32

Returns: the total objects of the transfer.

Gets the total objects of the transfer.