mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 04:01:41 +00:00
Document callback-triggered cancellation
This commit is contained in:
parent
fe95ac1b67
commit
b71bac9d2b
@ -25,7 +25,11 @@ typedef struct git_transfer_progress {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type for progress callbacks during indexing
|
* Type for progress callbacks during indexing. Return a value less than zero
|
||||||
|
* to cancel the transfer.
|
||||||
|
*
|
||||||
|
* @param stats Structure containing information about the state of the transfer
|
||||||
|
* @param payload Payload provided by caller
|
||||||
*/
|
*/
|
||||||
typedef int (*git_transfer_progress_callback)(const git_transfer_progress *stats, void *payload);
|
typedef int (*git_transfer_progress_callback)(const git_transfer_progress *stats, void *payload);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user