| Age | Commit message (Collapse) | Author |
|
|
|
This reverts commit 5b0bd926c6c8a1d3f65acd170b56c582abcee488.
Complaining about AndroidUnitTest having references to a Gradle
script object. Don't have the energy to down that rabbit hole now.
|
|
Using polling (every 10s) as libsmb2 has no watch/event support.
(Unsure if SMB protocol has any support).
|
|
Speedup repeated runs.
|
|
Two bugs:
* Didn't consider smb2_context max read/write size.
* total was not increased when max was hit
|
|
Remove unused imports and shorten lone lines
|
|
|
|
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?
|
|
follow symlinks = no doesn't have intended effect
|
|
Remember that jni::GlobalRef can be used on multiple threads so
we can't store the env, need to call AttachCurrentThread.
Fix AttachCurrentThread (g_vm was forgotten).
More consistent move and copy constructors in refs. Removed env()
method as it would only be valid for Param and Local anyway.
|
|
Also no unix extensions (as that is SMB1).
|
|
Kotlin + truth is somewhat pedantic at times
|
|
Shows up after gradle 8.10 upgrade but it's actually the kotlin upgrade
|
|
Current user needs to be in docker group (or in some other way have
access to the docker.socket) for this to work.
Two current problems:
* listRoot() fails, no directories are found.
* gradle hangs after running the samba tests
|
|
|
|
Some backends have resources to free, such as the SambaTree.
|
|
Unittests still fail as there is no samba server to talk to (step 2).
|
|
|
|
|
|
|
|
|
|
With the exception of openDir, largely untested.
|
|
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.
|
|
1.8 is deprecated with Java 22
|
|
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.
|
|
|
|
|
|
|
|
Useful when you want to check without AS.
|
|
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.
|