![]() |
![]() |
![]() |
libgit2-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
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
);
typedef struct _GgitTransferProgress GgitTransferProgress;
Represents transfering progress.
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. |
GgitTransferProgress * ggit_transfer_progress_copy (GgitTransferProgress *progress
);
Copies progress
into a newly allocated GgitTransferProgress.
|
a GgitTransferProgress. |
Returns : |
a newly allocated GgitTransferProgress. [transfer full] |
void ggit_transfer_progress_free (GgitTransferProgress *progress
);
Frees progress
.
|
a GgitTransferProgress. |
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. |
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. |
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. |
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. |