gi-ggit-1.0.11: 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.TransferProgress

Description

Represents transfering progress.

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

copy, free.

Getters

getIndexedObjects, getReceivedBytes, getReceivedObjects, getTotalObjects.

Setters

None.

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.