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

Method Fetch

backend/helpers/pluginhelper/csv_file_iterator.go:108–114  ·  view source on GitHub ↗

Fetch returns current row as a map

()

Source from the content-addressed store, hash-verified

106
107// Fetch returns current row as a map
108func (ci *CsvFileIterator) Fetch() map[string]any {
109 row := make(map[string]any)
110 for index, field := range ci.fields {
111 row[field] = ci.row[index]
112 }
113 return row
114}
115
116// Fetch returns current row as list of pairs (in order)
117func (ci *CsvFileIterator) FetchRecords() []*CsvRecord {

Callers 5

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

Calls

no outgoing calls

Tested by 2

TestExampleCsvFileFunction · 0.76
TestRepoDataFlowFunction · 0.76