(self)
| 550 | return self |
| 551 | |
| 552 | def __next__(self): |
| 553 | cancestor = ffi.new('git_index_entry **') |
| 554 | cours = ffi.new('git_index_entry **') |
| 555 | ctheirs = ffi.new('git_index_entry **') |
| 556 | |
| 557 | err = C.git_index_conflict_next(cancestor, cours, ctheirs, self._iter) |
| 558 | if err == C.GIT_ITEROVER: |
| 559 | raise StopIteration |
| 560 | |
| 561 | check_error(err) |
| 562 | |
| 563 | ancestor = IndexEntry._from_c(cancestor[0]) |
| 564 | ours = IndexEntry._from_c(cours[0]) |
| 565 | theirs = IndexEntry._from_c(ctheirs[0]) |
| 566 | |
| 567 | return ancestor, ours, theirs |
nothing calls this directly
no test coverage detected