git_note_foreach

Loop over all the notes within a specified namespace and issue a callback for each one.

extern (C) nothrow @nogc
int
git_note_foreach

Parameters

repo libgit2_d.types.git_repository*

Repository where to find the notes.

notes_ref const(char)*

Reference to read from (optional); defaults to "refs/notes/commits".

note_cb .git_note_foreach_cb

Callback to invoke per found annotation. Return non-zero to stop looping.

payload void*

Extra parameter to callback function.

Return Value

Type: int

0 on success, non-zero callback return value, or error code

Meta