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
Walk directories #65
Comments
|
I have two ideas:
|
Vouch for a |
@goncalossilva now that I've experimented with the current API I can share a better feedback. I think a more fluent approach would be to provide a Encapsulating the file handling code into a file system object would allow to extend it more easily in the future, instead of cluttering an Edit: maybe |
@goncalossilva FYI Kotlin/kotlinx-io#213, might be useful for this library's use cases. |
Nice! Thanks for sharing. It definitely adds to your case above. Consistency is important. 👍 |
Currently I can only fetch one file directly, but I'd like to be able to fetch all resources within a directory.
Some use-cases:
test-a
, or only get JSON filescommonTest/resources/test-cases/
So, I would like to be able to load an arbitrary file-system item, and be able to determine if it is a file or directory (for example, the returned object is in a sealed-interface hierarchy, so I can use a type-check).
The text was updated successfully, but these errors were encountered: