| Top | Description | Object Hierarchy |
Synopsis
GgitTransferProgress; gint (*GgitTransferProgressCallback) (GgitTransferProgress *stats,gpointer user_data); GgitTransferProgress * ggit_transfer_progress_copy (GgitTransferProgress *progress); void ggit_transfer_progress_free (GgitTransferProgress *progress); guint ggit_transfer_progress_get_total_objects (GgitTransferProgress *progress); guint ggit_transfer_progress_get_indexed_objects (GgitTransferProgress *progress); guint ggit_transfer_progress_get_received_objects (GgitTransferProgress *progress); gsize ggit_transfer_progress_get_received_bytes (GgitTransferProgress *progress);
Details
GgitTransferProgress
typedef struct _GgitTransferProgress GgitTransferProgress;
Represents transfering progress.
GgitTransferProgressCallback ()
gint (*GgitTransferProgressCallback) (GgitTransferProgress *stats,gpointer user_data);
Progress callbacks during indexing.
|
a GgitTransferProgress. |
|
user-supplied data. [closure] |
Returns : |
a value less than zero to cancel the transfer. |
ggit_transfer_progress_copy ()
GgitTransferProgress * ggit_transfer_progress_copy (GgitTransferProgress *progress);
Copies progress into a newly allocated GgitTransferProgress.
|
a GgitTransferProgress. |
Returns : |
a newly allocated GgitTransferProgress. [transfer full] |
ggit_transfer_progress_free ()
void ggit_transfer_progress_free (GgitTransferProgress *progress);
Frees progress.
|
a GgitTransferProgress. |
ggit_transfer_progress_get_total_objects ()
guint ggit_transfer_progress_get_total_objects
(GgitTransferProgress *progress);
Gets the total objects of the transfer.
|
a GgitTransferProgress. |
Returns : |
the total objects of the transfer. |
ggit_transfer_progress_get_indexed_objects ()
guint ggit_transfer_progress_get_indexed_objects
(GgitTransferProgress *progress);
Gets the indexed objects of the transfer.
|
a GgitTransferProgress. |
Returns : |
the indexed objects of the transfer. |
ggit_transfer_progress_get_received_objects ()
guint ggit_transfer_progress_get_received_objects
(GgitTransferProgress *progress);
Gets the received objects of the transfer.
|
a GgitTransferProgress. |
Returns : |
the received objects of the transfer. |
ggit_transfer_progress_get_received_bytes ()
gsize ggit_transfer_progress_get_received_bytes
(GgitTransferProgress *progress);
Gets the received bytes of the transfer.
|
a GgitTransferProgress. |
Returns : |
the received bytes of the transfer. |
