Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Represents transfering progress.
Synopsis
- newtype TransferProgress = TransferProgress (ManagedPtr TransferProgress)
- transferProgressCopy :: (HasCallStack, MonadIO m) => TransferProgress -> m (Maybe TransferProgress)
- transferProgressFree :: (HasCallStack, MonadIO m) => TransferProgress -> m ()
- transferProgressGetIndexedObjects :: (HasCallStack, MonadIO m) => TransferProgress -> m Word32
- transferProgressGetReceivedBytes :: (HasCallStack, MonadIO m) => TransferProgress -> m Word64
- transferProgressGetReceivedObjects :: (HasCallStack, MonadIO m) => TransferProgress -> m Word32
- transferProgressGetTotalObjects :: (HasCallStack, MonadIO m) => TransferProgress -> m Word32
Exported types
newtype TransferProgress Source #
Memory-managed wrapper type.
Instances
Eq TransferProgress Source # | |
Defined in GI.Ggit.Structs.TransferProgress (==) :: TransferProgress -> TransferProgress -> Bool # (/=) :: TransferProgress -> TransferProgress -> Bool # | |
GBoxed TransferProgress Source # | |
Defined in GI.Ggit.Structs.TransferProgress | |
ManagedPtrNewtype TransferProgress Source # | |
Defined in GI.Ggit.Structs.TransferProgress | |
TypedObject TransferProgress Source # | |
Defined in GI.Ggit.Structs.TransferProgress | |
HasParentTypes TransferProgress Source # | |
Defined in GI.Ggit.Structs.TransferProgress | |
IsGValue (Maybe TransferProgress) Source # | Convert |
Defined in GI.Ggit.Structs.TransferProgress gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe TransferProgress -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe TransferProgress) # | |
type ParentTypes TransferProgress Source # | |
Defined in GI.Ggit.Structs.TransferProgress |
Methods
Click to display all available methods, including inherited ones
copy
:: (HasCallStack, MonadIO m) | |
=> TransferProgress |
|
-> m (Maybe TransferProgress) | Returns: a newly allocated |
Copies progress
into a newly allocated TransferProgress
.
free
:: (HasCallStack, MonadIO m) | |
=> TransferProgress |
|
-> m () |
Frees progress
.
getIndexedObjects
transferProgressGetIndexedObjects Source #
:: (HasCallStack, MonadIO m) | |
=> TransferProgress |
|
-> m Word32 | Returns: the indexed objects of the transfer. |
Gets the indexed objects of the transfer.
getReceivedBytes
transferProgressGetReceivedBytes Source #
:: (HasCallStack, MonadIO m) | |
=> TransferProgress |
|
-> m Word64 | Returns: the received bytes of the transfer. |
Gets the received bytes of the transfer.
getReceivedObjects
transferProgressGetReceivedObjects Source #
:: (HasCallStack, MonadIO m) | |
=> TransferProgress |
|
-> m Word32 | Returns: the received objects of the transfer. |
Gets the received objects of the transfer.
getTotalObjects
transferProgressGetTotalObjects Source #
:: (HasCallStack, MonadIO m) | |
=> TransferProgress |
|
-> m Word32 | Returns: the total objects of the transfer. |
Gets the total objects of the transfer.