combine,compress,crypt,hasher,union: support wrapping backends with PartialUploads

This means that, for example, wrapping a sftp backend with crypt will
upload to a temporary name and then rename unless disabled with
--inplace.

See: https://forum.rclone.org/t/backup-versioning/38978/7
This commit is contained in:
Nick Craig-Wood 2023-06-13 20:08:58 +01:00
parent e1162ec440
commit 3faa84b47c
5 changed files with 5 additions and 0 deletions

View file

@ -233,6 +233,7 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (outFs fs
ReadMetadata: true,
WriteMetadata: true,
UserMetadata: true,
PartialUploads: true,
}).Fill(ctx, f)
canMove := true
for _, u := range f.upstreams {