aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/mcprepack/CSVFile.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/mcprepack/CSVFile.kt')
-rw-r--r--src/main/kotlin/mcprepack/CSVFile.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/mcprepack/CSVFile.kt b/src/main/kotlin/mcprepack/CSVFile.kt
index 6463fc7..1ddc03f 100644
--- a/src/main/kotlin/mcprepack/CSVFile.kt
+++ b/src/main/kotlin/mcprepack/CSVFile.kt
@@ -2,4 +2,5 @@ package mcprepack
data class CSVFile(val headers: List<String>, val entries: List<List<String>>) {
val map = entries.map { headers.zip(it).toMap() }
+ val indexedBySearge = map.associateBy { it["searge"] }
}