How can I read a csv file located in `assets` fold...
# squarelibraries
l
How can I read a csv file located in
assets
folder from the
commonMain
module? i’m using
okio
api to read the file. it requires the full path of the file to be read but I don’t know how to provide the full path or where to put the csv file
Copy code
fun readCsvFile(filePath: String){
    val path = "words.txt".toPath() // where should I put this file?
    val csvContent = FileSystem.SYSTEM.read(path) {
        readUtf8()
    }
}