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

Method Free

status.go:77–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77func (statusList *StatusList) Free() {
78 if statusList.ptr == nil {
79 return
80 }
81 runtime.SetFinalizer(statusList, nil)
82 C.git_status_list_free(statusList.ptr)
83 statusList.ptr = nil
84}
85
86func (statusList *StatusList) ByIndex(index int) (StatusEntry, error) {
87 if statusList.ptr == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected