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

Method EntryCount

status.go:100–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func (statusList *StatusList) EntryCount() (int, error) {
101 if statusList.ptr == nil {
102 return -1, ErrInvalid
103 }
104 ret := int(C.git_status_list_entrycount(statusList.ptr))
105 runtime.KeepAlive(statusList)
106
107 return ret, nil
108}
109
110type StatusOpt int
111

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected