aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/mcprepack/CSVFile.kt
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-03-10 14:36:06 +0100
committernea <nea@nea.moe>2023-03-10 14:36:06 +0100
commitb8a858f0911f097eb557277d07b3568b7ec65789 (patch)
tree17212b04524cb10d300980081f714a3d2e0a1b07 /src/main/kotlin/mcprepack/CSVFile.kt
downloadmcprepack-b8a858f0911f097eb557277d07b3568b7ec65789.tar.gz
mcprepack-b8a858f0911f097eb557277d07b3568b7ec65789.tar.bz2
mcprepack-b8a858f0911f097eb557277d07b3568b7ec65789.zip
Initial
Diffstat (limited to 'src/main/kotlin/mcprepack/CSVFile.kt')
-rw-r--r--src/main/kotlin/mcprepack/CSVFile.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/kotlin/mcprepack/CSVFile.kt b/src/main/kotlin/mcprepack/CSVFile.kt
new file mode 100644
index 0000000..6463fc7
--- /dev/null
+++ b/src/main/kotlin/mcprepack/CSVFile.kt
@@ -0,0 +1,5 @@
+package mcprepack
+
+data class CSVFile(val headers: List<String>, val entries: List<List<String>>) {
+ val map = entries.map { headers.zip(it).toMap() }
+}