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

Method Close

backend/helpers/pluginhelper/csv_file_iterator.go:73–78  ·  view source on GitHub ↗

Close releases resource

()

Source from the content-addressed store, hash-verified

71
72// Close releases resource
73func (ci *CsvFileIterator) Close() {
74 err := ci.file.Close()
75 if err != nil {
76 panic(err)
77 }
78}
79
80// HasNext returns a boolean to indicate whether there was any row to be `Fetch`
81func (ci *CsvFileIterator) HasNext() bool {

Callers 6

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

Calls 1

CloseMethod · 0.65

Tested by 2

TestExampleCsvFileFunction · 0.76
TestRepoDataFlowFunction · 0.76