Closed clayreimann closed 3 years ago
It would also be nice to get a current release of Files. Thanks for this convenient library!
Great idea @clayreimann, and thanks for opening this PR. Do you mind also ensuring that the tests cover these new changes? After that's done, I'll merge this in and will make a new release 👍
@JohnSundell got the tests done. I'm not super happy about the Folder.documents
test, so if you have suggestions about how to improve it I'm all ears. (maybe we should ensure that that folder exists first?)
Edit: Is there a way to create a Folder
for a path that doesn't exist yet? (e.g. one that you want to create)
It's also strange that the buildbuddy build broke, but the other two passed. The test passed on my local machine too. I wonder what the subtle difference is between the platforms…
Following up again, I figured out a cleaner way to write the tests. Let me know if how things are being tested seems reasonable or if there's a way you'd prefer I'd test this change.
Hey! Waiting for this to be released so I don't need to extend the library to get this folders available. Thank you for your job @clayreimann @JohnSundell
@canedo2 While we're waiting for Josh, you can use my GH fork as the source in XCode's package manager to get the patch
@JohnSundell are the tests here good?
Any news?
Replaced by https://github.com/JohnSundell/Files/pull/122, thanks for your work on this @clayreimann!
More Folder API for iOS and tvOS
Folder.documents
used for data that should be backed up by the OSFolder.library
maps to/Library
with whatever is in there 😝