summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2024-09-10Add libs:documentsJoel Klinghed
Reads the abomination that is SAF, or Androids best effort to make files and directories completely and utterly unusable on Android. The androidTest was (and is) a pain, only known to work on a Pixel3 API 34 emulator but it showed a lot of things that the fake content provider in the unit tests failed to show.
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-07-25samba: Add credentials objectJoel Klinghed
Ask for enough permissions to be able to create sockets.
2024-07-23Add initial code for samba implementation based on libsmb2Joel Klinghed
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.
2024-07-15Remove values-v23 as minSdk = 29Joel Klinghed
Fixes lint warning.
2024-07-15Jump to Java 11 as base languageJoel Klinghed
1.8 is deprecated with Java 22
2024-07-15Fix some problems with LinkJoel Klinghed
And add more unittests for all of Directory, File and Link.
2024-07-15Add some tests in LocalTreeTest for removing directoriesJoel Klinghed
2024-07-15Add Utils#createFileAndDirectoriesJoel Klinghed
Useful when creating a file in a directory with a path.
2024-07-15Add Utils for parsing path parts to a directoryJoel Klinghed
2024-07-15Add Directory#openDir,File,LinkJoel Klinghed
If you know the expected type of a name, instead of listing all entries, just create an entry for the directory, file or link.
2024-07-15Move LocalTreeTest to ioJoel Klinghed
2024-07-14Add and configure detekt gradle pluginJoel Klinghed
Useful when you want to check without AS.
2024-07-14Add Directory#liveList and make Directory#list() directJoel Klinghed
Also move the LiveData outside Directory.Content. A lot of code doesn't care about Directory content in two seconds, they want to know it now. Also, the LiveData returned is one of the annoying one where the content isn't correct until someone observes it. This makes more sense this way.
2024-07-14Rename File#open to File#readJoel Klinghed
To match write.
2024-07-11Initial commitJoel Klinghed
Local (Path based) implementation of Tree, Directory, File and Link.