MCPcopy Create free account
hub / github.com/libgit2/pygit2 / Note_message__get__

Function Note_message__get__

src/note.c:71–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 "Gets message of the note\n");
70
71PyObject *
72Note_message__get__(Note *self)
73{
74 int err;
75
76 // Lazy load
77 if (self->note == NULL) {
78 err = git_note_read(&self->note,
79 self->repo->repo,
80 self->ref,
81 &((Oid *)self->annotated_id)->oid);
82 if (err < 0)
83 return Error_set(err);
84 }
85
86 return to_unicode(git_note_message(self->note), NULL, NULL);
87}
88
89
90static void

Callers

nothing calls this directly

Calls 1

Error_setFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…