libgit2

git_indexer_run

Version:

Iterate over the objects in the packfile and extract the information

Indexing a packfile can be very expensive so this function is expected to be run in a worker thread and the stats used to provide feedback the user.

Signature

int git_indexer_run(git_indexer *idx, git_indexer_stats *stats);

Parameters

In
idx

the indexer instance

In
stats

storage for the running state

Returns

int

Versions