MCPcopy Index your code
hub / github.com/apache/devlake / HasNext

Method HasNext

backend/plugins/zentao/tasks/iterator.go:36–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func (w *iteratorConcator) HasNext() bool {
37 for w.index < len(w.iterators) {
38 if w.iterators[w.index].HasNext() {
39 return true
40 }
41 w.index++
42 }
43 return false
44}
45
46func (w *iteratorConcator) Fetch() (interface{}, errors.Error) {
47 if w.index >= len(w.iterators) {

Callers

nothing calls this directly

Calls 1

HasNextMethod · 0.65

Tested by

no test coverage detected