Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

chunker: mark ListP as not supported yet

Nick Craig-Wood943ea0acae58
diff --git a/backend/chunker/chunker.go b/backend/chunker/chunker.go
index a2f904d7b..c3f4d320f 100644
--- a/backend/chunker/chunker.go
+++ b/backend/chunker/chunker.go
@@ -356,7 +356,8 @@ func NewFs(ctx context.Context, name, rpath string, m configmap.Mapper) (fs.Fs,
DirModTimeUpdatesOnWrite: true,
}).Fill(ctx, f).Mask(ctx, baseFs).WrapsFs(f, baseFs)
- f.features.Disable("ListR") // Recursive listing may cause chunker skip files
+ f.features.ListR = nil // Recursive listing may cause chunker skip files
+ f.features.ListP = nil // ListP not supported yet
return f, err
}
diff --git a/backend/chunker/chunker_test.go b/backend/chunker/chunker_test.go
index 9f6efbd33..05a40783b 100644
--- a/backend/chunker/chunker_test.go
+++ b/backend/chunker/chunker_test.go
@@ -46,6 +46,7 @@ func TestIntegration(t *testing.T) {
"DirCacheFlush",
"UserInfo",
"Disconnect",
+ "ListP",
},
}
if *fstest.RemoteName == "" {