MCPcopy
hub / github.com/apache/devlake / HasNext

Method HasNext

backend/helpers/pluginhelper/csv_file_iterator.go:81–87  ·  view source on GitHub ↗

HasNext returns a boolean to indicate whether there was any row to be `Fetch`

()

Source from the content-addressed store, hash-verified

79
80// HasNext returns a boolean to indicate whether there was any row to be `Fetch`
81func (ci *CsvFileIterator) HasNext() bool {
82 hasNext, err := ci.HasNextWithError()
83 if err != nil {
84 panic(err)
85 }
86 return hasNext
87}
88
89// HasNextWithError returns a boolean to indicate whether there was any row to be `Fetch`
90func (ci *CsvFileIterator) HasNextWithError() (bool, errors.Error) {

Callers 6

TestExampleCsvFileFunction · 0.95
ImportCsvIntoRawTableMethod · 0.95
importCsvMethod · 0.95
UpdateCSVsMethod · 0.95
TestRepoDataFlowFunction · 0.95

Calls 1

HasNextWithErrorMethod · 0.95

Tested by 2

TestExampleCsvFileFunction · 0.76
TestRepoDataFlowFunction · 0.76