https://kotlinlang.org logo
s

spierce7

06/02/2021, 4:57 AM
Is there a multiplatform file API yet?
k

KamilH

06/02/2021, 5:14 AM
Okio has multiplatform artifacts, however as far as I know these are not yet documented. You can try it out by adding
Copy code
implementation("com.squareup.okio:okio-multiplatform:3.0.0-alpha.6")
to your
commonMain
You can also see this in action in this repo: https://github.com/jmfayard/kotlin-cli-starter
👍 1
s

spierce7

06/02/2021, 5:45 AM
oh wow. That’s awesome!
Thanks!