create_note


Description:

public OId? create_note (string? notes_ref, Signature author, Signature committer, OId id, string note, bool force) throws Error

Adds a note for an object.

Parameters:

this

a Repository.

notes_ref

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

author

author signature.

committer

committer signature.

id

OID of the git object to decorate.

note

content of the note to add for object oid.

force

whether to overwrite existing note.

Returns:

the OID for the note or null in case of error.