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

Method __init__

pygit2/index.py:539–544  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

537
538class ConflictIterator:
539 def __init__(self, index):
540 citer = ffi.new('git_index_conflict_iterator **')
541 err = C.git_index_conflict_iterator_new(citer, index._index)
542 check_error(err)
543 self._index = index
544 self._iter = citer[0]
545
546 def __del__(self):
547 C.git_index_conflict_iterator_free(self._iter)

Callers

nothing calls this directly

Calls 1

check_errorFunction · 0.85

Tested by

no test coverage detected