git_note_commit_read

Read the note for an object from a note commit

The note must be freed manually by the user.

Parameters

out_ libgit2_d.types.git_note**

pointer to the read note; null in case of error

repo libgit2_d.types.git_repository*

repository where to look up the note

notes_commit libgit2_d.types.git_commit*

a pointer to the notes commit object

oid const(libgit2_d.oid.git_oid)*

OID of the git object to read the note from

Return Value

Type: int

0 or an error code

Meta