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:
parent
e1162ec440
commit
3faa84b47c
5 changed files with 5 additions and 0 deletions
|
@ -268,6 +268,7 @@ func NewFs(ctx context.Context, name, rpath string, m configmap.Mapper) (fs.Fs,
|
|||
ReadMetadata: true,
|
||||
WriteMetadata: true,
|
||||
UserMetadata: true,
|
||||
PartialUploads: true,
|
||||
}).Fill(ctx, f).Mask(ctx, wrappedFs).WrapsFs(f, wrappedFs)
|
||||
|
||||
return f, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue