| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Ggit.Structs.TransferProgress
Contents
Description
Represents transfering progress.
Synopsis
- newtype TransferProgress = TransferProgress (ManagedPtr TransferProgress)
- noTransferProgress :: Maybe 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.
Constructors
| TransferProgress (ManagedPtr TransferProgress) |
Instances
| BoxedObject TransferProgress Source # | |
Defined in GI.Ggit.Structs.TransferProgress Methods boxedType :: TransferProgress -> IO GType # | |
noTransferProgress :: Maybe TransferProgress Source #
A convenience alias for Nothing :: Maybe TransferProgress.
Methods
copy
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TransferProgress |
|
| -> m (Maybe TransferProgress) | Returns: a newly allocated |
Copies progress into a newly allocated TransferProgress.
free
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TransferProgress |
|
| -> m () |
Frees progress.
getIndexedObjects
transferProgressGetIndexedObjects Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => 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 |
|
| -> m Word64 | Returns: the received bytes of the transfer. |
Gets the received bytes of the transfer.
getReceivedObjects
transferProgressGetReceivedObjects Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => 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 |
|
| -> m Word32 | Returns: the total objects of the transfer. |
Gets the total objects of the transfer.