git_note_read

Read the note for an object

The note must be freed manually by the user.

extern (C) nothrow @nogc
int
git_note_read

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_ref const(char)*

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

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