libgit2

git_reference_foreach_cb

Version:

Callback used to iterate over references

See

Signature

typedef int git_reference_foreach_cb(git_reference *reference, void *payload);

Parameters

In
reference

The reference object

void *
In
payload

Payload passed to git_reference_foreach

Returns

int

non-zero to terminate the iteration

Parameter To

Versions