()
| 98 | } |
| 99 | |
| 100 | func (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 | |
| 110 | type StatusOpt int |
| 111 |
nothing calls this directly
no outgoing calls
no test coverage detected