1
0
mirror of https://github.com/rclone/rclone.git synced 2025-11-29 05:47:23 +02:00

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

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