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

Function NoteIter_iternext

src/note.c:162–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161
162PyObject *
163NoteIter_iternext(NoteIter *self)
164{
165 int err;
166 git_oid note_id, annotated_id;
167
168 err = git_note_next(&note_id, &annotated_id, self->iter);
169 if (err < 0)
170 return Error_set(err);
171
172 return (PyObject*) wrap_note(self->repo, &note_id, &annotated_id, self->ref);
173}
174
175void
176NoteIter_dealloc(NoteIter *self)

Callers

nothing calls this directly

Calls 2

Error_setFunction · 0.85
wrap_noteFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…