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 tran sfer

void *
In
payload

Payload provided by caller

Parameter To

Versions