| 679 | PyDoc_STRVAR(Diff_deltas__doc__, "Iterate over the diff deltas."); |
| 680 | |
| 681 | PyObject * |
| 682 | Diff_deltas__get__(Diff *self) |
| 683 | { |
| 684 | DeltasIter *iter; |
| 685 | |
| 686 | iter = PyObject_New(DeltasIter, &DeltasIterType); |
| 687 | if (iter != NULL) { |
| 688 | Py_INCREF(self); |
| 689 | iter->diff = self; |
| 690 | iter->i = 0; |
| 691 | iter->n = git_diff_num_deltas(self->diff); |
| 692 | } |
| 693 | return (PyObject*)iter; |
| 694 | } |
| 695 | |
| 696 | PyDoc_STRVAR(Diff_patch__doc__, |
| 697 | "Patch diff string. Can be None in some cases, such as empty commits."); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…