data_safety library
Classes
- CsvRecord
- One parsed record, with the line its first field started on.
- DataSafetyRow
- One row of the declaration, as read.
Constants
-
dataSafetyColumns
→ const List<
String> - The header Play writes, in the order it writes it.
- dataSafetyRequired → const String
- The one requirement level this package acts on.
Functions
-
checkDataSafety(
String csv, {String where = 'data safety'}) → List< ReleaseProblem> -
checkDataSafetyFile over already-read
csv. -
checkDataSafetyFile(
String path) → List< ReleaseProblem> -
Reads the CSV at
pathand reports everything structurally wrong with it. -
parseCsv(
String input) → List< List< String> > - A CSV reader, because this package has no dependencies and is not getting one for this.
-
parseCsvRecords(
String input) → List< CsvRecord> - parseCsv, keeping each record's line number.