libgit2

git_indexer_progress_cb

Version:

Type for progress callbacks during indexing. Return a value less than zero to cancel the indexing or download.

Signature

typedef int git_indexer_progress_cb(const git_indexer_progress *stats, void *payload);

Parameters

In
stats

Structure containing information about the state of the transfer

void *
In
payload

Payload provided by caller

Returns

int

0 on success or an error code

Parameter To

Versions