libgit2

git_note_foreach_cb

Version:

Callback for git_note_foreach.

Signature

typedef int git_note_foreach_cb(const git_oid *blob_id, const git_oid *annotated_object_id, void *payload);

Parameters

In
blob_id

object id of the blob containing the message

In
annotated_object_id

the id of the object being annotated

void *
In
payload

user-specified data to the foreach function

Returns

int

0 on success, or a negative number on failure

Parameter To

Versions