forked from TrueCloudLab/rclone
fs: Implement PartialUploads feature flag
Implement a Partialuploads feature flag to mark backends for which uploads are not atomic. This is set for the following backends - local - ftp - sftp See #3770
This commit is contained in:
parent
aaacfa51a0
commit
cc01223535
4 changed files with 4 additions and 0 deletions
|
@ -994,6 +994,7 @@ func NewFsWithConnection(ctx context.Context, f *Fs, name string, root string, m
|
|||
f.features = (&fs.Features{
|
||||
CanHaveEmptyDirectories: true,
|
||||
SlowHash: true,
|
||||
PartialUploads: true,
|
||||
}).Fill(ctx, f)
|
||||
// Make a connection and pool it to return errors early
|
||||
c, err := f.getSftpConnection(ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue