libgit2

git_reference_foreach_name_cb

Version:

Callback used to iterate over reference names

See

Signature

typedef int git_reference_foreach_name_cb(const char *name, void *payload);

Parameters

const char *
In
name

The reference name

void *
In
payload

Payload passed to git_reference_foreach_name

Returns

int

non-zero to terminate the iteration

Parameter To

Versions