(_csvFilePath, _batchSize)
| 24 | } |
| 25 | |
| 26 | function parse(_csvFilePath, _batchSize) { |
| 27 | // Read file |
| 28 | let input = fs.readFileSync(_csvFilePath); |
| 29 | // Parse csv |
| 30 | let data = csvParse(input, { cast: _cast }); |
| 31 | |
| 32 | return data; |
| 33 | } |
| 34 | |
| 35 | module.exports = parse; |
nothing calls this directly
no outgoing calls
no test coverage detected