libgit2

git_indexer_stream_new

Version:

Create a new streaming indexer instance

Signature

int git_indexer_stream_new(git_indexer_stream **out, const char *path, git_transfer_progress_callback progress_cb, void *progress_cb_payload);

Parameters

In
out

where to store the indexer instance

const char *
In
path

to the directory where the packfile should be stored

In
progress_cb

function to call with progress information

void *
In
progress_cb_payload

payload for the progress callback

Returns

int

Versions