Two questions on okio-files: 1. Is there an equiva...
# squarelibraries
r
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
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