summaryrefslogtreecommitdiff
path: root/libs/local
AgeCommit message (Collapse)Author
2024-10-14Add path to LinkJoel Klinghed
It's implementation specific if path is relative or absolute but it contains the link target. Especially useful for NoTarget.
2024-10-14Add tests for create dir/file/link that already existsJoel Klinghed
Fix implementations to work as expected (that createDirectory/File/Link fails if an entry with that name already exists).
2024-09-03Remove robolectric from test-utilsJoel Klinghed
Will make it possible to use TreeAbstractTest in androidTest as well as unittest
2024-09-03Add robolectric.propertiesJoel Klinghed
For some reason robolectric doesn't pick up the right min and max sdk by itself so it was testing the wrong versions
2024-08-25Combine tests from both local and sambaJoel Klinghed
Most the tests test the Tree implementation and thus should work on all such implementations. Current exception is symlinks which Samba backend doesn't (currently?) support. Improve the Samba remove methods to better match the expected behavior.
2024-08-23local: Simply PathFile.writeJoel Klinghed
Don't fiddle around with temp files and such. This needs to be handled on a higher level. Otherwise, how do you know if the temp file should be replaced or not when close is called?
2024-08-22Add AutoClosable to Tree interfaceJoel Klinghed
Some backends have resources to free, such as the SambaTree.
2024-07-16Break out io code in libsJoel Klinghed
Preparing for adding more io implementations. Really tried writing the convention plugins in kotlin dsl but could not find the exact right hacks to get it to work.