https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
r

russhwolf

12/20/2020, 9:22 PM
Two questions on okio-files: 1. Is there an equivalent to
<http://java.io|java.io>.File.exists()
that I’m missing? ditto for
mkdirs()
since
Filesystem.createDirectory(path)
doesn’t appear to create parent directories 2. Is there any plan to promote the
use()
extensions on Sink and Source to public API?
👍 3
j

jessewilson

12/21/2020, 12:53 PM
1. Yes, to both methods. Both are surprisingly tricky to implement on the current API
2. I think we need a multiplatform Closeable and a use