git_note_create

Add a note for an object

Parameters

out_ libgit2_d.oid.git_oid*

pointer to store the OID (optional); null in case of error

repo libgit2_d.types.git_repository*

repository where to store the note

notes_ref const(char)*

canonical name of the reference to use (optional); defaults to "refs/notes/commits"

author const(libgit2_d.types.git_signature)*

signature of the notes commit author

committer const(libgit2_d.types.git_signature)*

signature of the notes commit committer

oid const(libgit2_d.oid.git_oid)*

OID of the git object to decorate

note const(char)*

Content of the note to add for object oid

force int

Overwrite existing note

Return Value

Type: int

0 or an error code

Meta