gi-ggit-1.0.9: 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

Description

Represents transfering progress.

Synopsis

Exported types

newtype TransferProgress Source #

Memory-managed wrapper type.

Constructors

TransferProgress (ManagedPtr TransferProgress) 

Instances

Instances details
Eq TransferProgress Source # 
Instance details

Defined in GI.Ggit.Structs.TransferProgress

GBoxed TransferProgress Source # 
Instance details

Defined in GI.Ggit.Structs.TransferProgress

ManagedPtrNewtype TransferProgress Source # 
Instance details

Defined in GI.Ggit.Structs.TransferProgress

TypedObject TransferProgress Source # 
Instance details

Defined in GI.Ggit.Structs.TransferProgress

Methods

glibType :: 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

HasParentTypes TransferProgress Source # 
Instance details

Defined in GI.Ggit.Structs.TransferProgress

type ParentTypes TransferProgress Source # 
Instance details

Defined in GI.Ggit.Structs.TransferProgress

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

Methods

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