MCPcopy Create free account
hub / github.com/libgit2/git2go / newIndexConflictIteratorFromC

Function newIndexConflictIteratorFromC

index.go:624–628  ·  view source on GitHub ↗
(index *Index, ptr *C.git_index_conflict_iterator)

Source from the content-addressed store, hash-verified

622}
623
624func newIndexConflictIteratorFromC(index *Index, ptr *C.git_index_conflict_iterator) *IndexConflictIterator {
625 i := &IndexConflictIterator{ptr: ptr, index: index}
626 runtime.SetFinalizer(i, (*IndexConflictIterator).Free)
627 return i
628}
629
630func (v *IndexConflictIterator) Index() *Index {
631 return v.index

Callers 1

ConflictIteratorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…