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

Function DeltasIter_iternext

src/diff.c:606–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604}
605
606PyObject *
607DeltasIter_iternext(DeltasIter *self)
608{
609 if (self->i < self->n)
610 return diff_get_delta_byindex(self->diff->diff, self->i++);
611
612 PyErr_SetNone(PyExc_StopIteration);
613 return NULL;
614}
615
616void
617DeltasIter_dealloc(DeltasIter *self)

Callers

nothing calls this directly

Calls 1

diff_get_delta_byindexFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…