| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Used to check if target files have the expected hash. Using a
memory cache to not have to read source each time but falls back
to reading source if needed.
|
|
|
|
Can't create entries with "/" in for the other backends, so they
will resolve the path. documents would not. Change that so they
are more similar.
|
|
Fixed DocumentFile#equals. DelayedDocumentFile was equal DocumentFile
but DocumentFile wasn't equal to DelayedDocumentFile.
|
|
For future tests
|
|
|
|
If a symlink points to a directory already visited in parent path,
don't visit. Otherwise you will get a stack overflow.
|
|
Reduces parameter count.
|
|
|
|
|
|
Fix lastModified time calculation for samba.
|
|
Had to fixup the symlink code in Sftp, most importantly add a PathUtils
relativeTo to fixup relative links.
|
|
There is no reason to use the Java version when there is the Kotlin version (for now).
|
|
Otherwise you get problems with one file system uses seconds and
another milliseconds and suddenly two files that are created at
the same time does not have the same timestamp.
Makes the test suite take 2 seconds longer to run but it is
what it is.
|
|
Handles the docker start and stop and all that. Useful for adding
more tests that use a sftp instance.
|
|
|
|
Will be easier to include in other projects then.
And it is where TreeAbstractTest is.
|
|
Single as in merge in one direction, a source and a target.
Split merge in to calculating (done by SingleMerge) which returns
a number of steps to do. Modifier then applies the steps.
Still thinking of pair or two-way merge, need a database for that
or you can never remove any files.
|
|
removeLast resolved to kotlin extension method on Android 34 and older.
On 35 it resolves to a new Java method, that is API 35 only.
|
|
|
|
Remove unused parameter names, extra colons, code that is never
executed and an opinionated detekt check.
|
|
Too many useful things are "Incubating"
|
|
If no fingerprint is stored -> save whatever the server gives
If a fingerprint is stored -> error if fingerprint does not match
|
|
Tests switch between password authentication and private key
authentication depending on the hash of the method name.
It's a fairly even spread.
Update the docker config, it never wanted a pem file, it wanted
a ssh-rsa format public key.
|
|
Let ssh2 derive the public key from the private key. Much easier.
|
|
|
|
Also upgraded compileSdk to 35.
|
|
11 is really old by now.
|
|
|
|
|
|
|
|
|
|
It's implementation specific if path is relative or absolute but
it contains the link target. Especially useful for NoTarget.
|
|
Fix implementations to work as expected
(that createDirectory/File/Link fails if an entry with that name
already exists).
|
|
Gradle 8.10.2
AGP 8.7.0
Kotlin 2.0.20
|
|
|
|
Add tests for them, and add basename, currently unused, for completeness
|
|
And fix errors in MUTF-8 conversion in jni.cpp
|
|
When robolectric loads multiple SDK versions it initialize
the NativeSamba class multiple times but loading libsamba.so
multiple times doesn't work. Avoid the problem by going back to
only testing one SDK level for samba.
|
|
Not been able to test the symlink code (as it is SMB1 only), instead
of having a lot of (possibly, most likely) broken code that might
be used by someone, remove it all.
|
|
Leftover from early test, there is a tree already.
|
|
|
|
|
|
sftp implementation using libssh2 and openssl
|
|
|
|
|
|
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.
|
|
|