(self, path)
| 521 | return ConflictIterator(self._index) |
| 522 | |
| 523 | def __contains__(self, path): |
| 524 | cancestor = ffi.new('git_index_entry **') |
| 525 | cours = ffi.new('git_index_entry **') |
| 526 | ctheirs = ffi.new('git_index_entry **') |
| 527 | |
| 528 | err = C.git_index_conflict_get( |
| 529 | cancestor, cours, ctheirs, self._index._index, to_bytes(path) |
| 530 | ) |
| 531 | if err == C.GIT_ENOTFOUND: |
| 532 | return False |
| 533 | |
| 534 | check_error(err) |
| 535 | return True |
| 536 | |
| 537 | |
| 538 | class ConflictIterator: |
nothing calls this directly
no test coverage detected