mirror of
https://github.com/rclone/rclone.git
synced 2025-08-13 23:38:51 +02:00
cache: fix dedupe on caches wrapping drives - fixes #4320
This implements the MergeDirs optional method.
This commit is contained in:
2
backend/cache/cache_test.go
vendored
2
backend/cache/cache_test.go
vendored
@ -18,7 +18,7 @@ func TestIntegration(t *testing.T) {
|
||||
fstests.Run(t, &fstests.Opt{
|
||||
RemoteName: "TestCache:",
|
||||
NilObject: (*cache.Object)(nil),
|
||||
UnimplementableFsMethods: []string{"PublicLink", "MergeDirs", "OpenWriterAt"},
|
||||
UnimplementableFsMethods: []string{"PublicLink", "OpenWriterAt"},
|
||||
UnimplementableObjectMethods: []string{"MimeType", "ID", "GetTier", "SetTier"},
|
||||
SkipInvalidUTF8: true, // invalid UTF-8 confuses the cache
|
||||
})
|
||||
|
Reference in New Issue
Block a user