MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / parse

Function parse

CLI/commands/helpers/csv.js:26–33  ·  view source on GitHub ↗
(_csvFilePath, _batchSize)

Source from the content-addressed store, hash-verified

24}
25
26function 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
35module.exports = parse;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected