-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add okio or kotlinx-io Path conversion extensions #492
Comments
Since that library is not stable, you're better off doing a manual convert for now. I suspect once it does go stable it will be supported. You could also use Okio's multiplatform file system. It is stable, but I wouldn't expect Clikt to take it as a dependency for built-in support. Example: |
I don't generally have library-specific extensions since calling |
@JakeWharton I actually wasn't aware about And @ajalt, you are right and that is exactly why I made this issue. Because the JVM API is more than just a conversion but also has fancy checks like |
makes sense, might be nice to add an example to the docs where it says that file and path are only available on the jvm, and point people to this solution. |
The docs on multiplatform support already mention that they're JVM-only. |
Right, I'm suggesting it mention that for other targets you could use Okio and add a |
Title says it all. Using something like kotlinx-io to support even a subset of the path features in native would be excellent
The text was updated successfully, but these errors were encountered: