| Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
For some reason robolectric doesn't pick up the right min and max
sdk by itself so it was testing the wrong versions
|
|
Ask for enough permissions to be able to create sockets.
|
|
|
|
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.
|
|
Fixes lint warning.
|
|
And add more unittests for all of Directory, File and Link.
|
|
|
|
Useful when creating a file in a directory with a path.
|
|
|
|
If you know the expected type of a name, instead of listing all
entries, just create an entry for the directory, file or link.
|
|
|
|
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.
|
|
To match write.
|
|
Local (Path based) implementation of Tree, Directory, File and Link.
|