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

Method HasNext

backend/helpers/pluginhelper/api/iterator.go:59–61  ·  view source on GitHub ↗

HasNext increments the row cursor. If we're at the end, it'll return false.

()

Source from the content-addressed store, hash-verified

57
58// HasNext increments the row cursor. If we're at the end, it'll return false.
59func (c *DalCursorIterator) HasNext() bool {
60 return c.cursor.Next()
61}
62
63// Fetch if batching is disabled, it'll read a single row, otherwise it'll read as many rows up to the batch size, and the
64// runtime return type will be []interface{}. Note, HasNext needs to have been called before invoking this.

Callers 1

batchedFetchMethod · 0.95

Calls 1

NextMethod · 0.65

Tested by

no test coverage detected