(ptr *C.git_index, repo *Repository)
| 108 | } |
| 109 | |
| 110 | func newIndexFromC(ptr *C.git_index, repo *Repository) *Index { |
| 111 | idx := &Index{ptr: ptr, repo: repo} |
| 112 | runtime.SetFinalizer(idx, (*Index).Free) |
| 113 | return idx |
| 114 | } |
| 115 | |
| 116 | // NewIndex allocates a new index. It won't be associated with any |
| 117 | // file on the filesystem or repository |
no outgoing calls
no test coverage detected
searching dependent graphs…