libgit2

git_odb_foreach_cb

Version:

Function type for callbacks from git_odb_foreach.

Signature

typedef int git_odb_foreach_cb(const git_oid *id, void *payload);

Parameters

In
id

an id of an object in the object database

void *
In
payload

the payload from the initial call to git_odb_foreach

Returns

int

0 on success, or an error code

Parameter To

Versions