note_foreach


Description:

public bool note_foreach (string? notes_ref, NoteCallback callback) throws Error

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

If callback returns a non-zero value, this will stop looping.

Parameters:

this

a Repository.

notes_ref

canonical name of the reference to use, or null to use the default ref.

callback

a NoteCallback.

user_data

callback user data.

Returns:

true if there was no error, false otherwise.