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

Function DiffIter_iternext

src/diff.c:544–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542}
543
544PyObject *
545DiffIter_iternext(DiffIter *self)
546{
547 if (self->i < self->n)
548 return diff_get_patch_byindex(self->diff->diff, self->i++);
549
550 PyErr_SetNone(PyExc_StopIteration);
551 return NULL;
552}
553
554void
555DiffIter_dealloc(DiffIter *self)

Callers

nothing calls this directly

Calls 1

diff_get_patch_byindexFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…