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

Function freeCIndexEntry

index.go:106–108  ·  view source on GitHub ↗
(entry *C.git_index_entry)

Source from the content-addressed store, hash-verified

104}
105
106func freeCIndexEntry(entry *C.git_index_entry) {
107 C.free(unsafe.Pointer(entry.path))
108}
109
110func newIndexFromC(ptr *C.git_index, repo *Repository) *Index {
111 idx := &Index{ptr: ptr, repo: repo}

Callers 3

AddMethod · 0.85
AddFromBufferMethod · 0.85
AddConflictMethod · 0.85

Calls 1

freeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…