| 69 | "Gets message of the note\n"); |
| 70 | |
| 71 | PyObject * |
| 72 | Note_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 | |
| 90 | static void |
nothing calls this directly
no test coverage detected
searching dependent graphs…