()
| 637 | } |
| 638 | |
| 639 | func (v *Index) ConflictIterator() (*IndexConflictIterator, error) { |
| 640 | var i *C.git_index_conflict_iterator |
| 641 | |
| 642 | runtime.LockOSThread() |
| 643 | defer runtime.UnlockOSThread() |
| 644 | |
| 645 | ecode := C.git_index_conflict_iterator_new(&i, v.ptr) |
| 646 | if ecode < 0 { |
| 647 | return nil, MakeGitError(ecode) |
| 648 | } |
| 649 | return newIndexConflictIteratorFromC(v, i), nil |
| 650 | } |
| 651 | |
| 652 | func (v *IndexConflictIterator) Next() (IndexConflict, error) { |
| 653 | var cancestor *C.git_index_entry |
nothing calls this directly
no test coverage detected