libgit2

git_indexer_append

Version:

Add data to the indexer

Signature

int git_indexer_append(git_indexer *idx, const void *data, size_t size, git_indexer_progress *stats);

Parameters

In
idx

the indexer

const void *
In
data

the data to add

size_t
In
size

the size of the data in bytes

In
stats

stat storage

Returns

int

0 or an error code.

Versions