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

Contents

Description

Represents transfering progress.

Synopsis

Exported types

newtype TransferProgress Source #

Memory-managed wrapper type.

Constructors

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

Defined in GI.Ggit.Structs.TransferProgress

BoxedObject TransferProgress Source # 
Instance details

Defined in GI.Ggit.Structs.TransferProgress

Methods

boxedType :: TransferProgress -> IO GType

IsGValue TransferProgress Source #

Convert TransferProgress to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Structs.TransferProgress

Methods

toGValue :: TransferProgress -> IO GValue

fromGValue :: GValue -> IO TransferProgress

noTransferProgress :: Maybe TransferProgress Source #

A convenience alias for Nothing :: Maybe TransferProgress.

Methods

Overloaded methods

copy

transferProgressCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TransferProgress

progress: a tTransferProgress.

-> m (Maybe TransferProgress)

Returns: a newly allocated tTransferProgress or Nothing.

Copies progress into a newly allocated tTransferProgress.

free

transferProgressFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TransferProgress

progress: a tTransferProgress.

-> m () 

Frees progress.

getIndexedObjects

transferProgressGetIndexedObjects Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TransferProgress

progress: a tTransferProgress.

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

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

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

-> m Word32

Returns: the total objects of the transfer.

Gets the total objects of the transfer.