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

filefabric: set Features.Read/WriteMimeType as both supported

Nick Craig-Wood135adb426e3c
diff --git a/backend/filefabric/filefabric.go b/backend/filefabric/filefabric.go
index cdf9e0f6f..fb6241b04 100644
--- a/backend/filefabric/filefabric.go
+++ b/backend/filefabric/filefabric.go
@@ -439,6 +439,8 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e
f.features = (&fs.Features{
CaseInsensitive: true,
CanHaveEmptyDirectories: true,
+ ReadMimeType: true,
+ WriteMimeType: true,
}).Fill(ctx, f)
if f.opt.Version == "" {
err = f.getApplianceInfo(ctx)