mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 09:04:52 +01:00
sftp: set DirModTimeUpdatesOnWrite to fix integration tests
This commit is contained in:
parent
3bb9394ae5
commit
1693d7ad0f
@ -1066,9 +1066,10 @@ func NewFsWithConnection(ctx context.Context, f *Fs, name string, root string, m
|
||||
}
|
||||
|
||||
f.features = (&fs.Features{
|
||||
CanHaveEmptyDirectories: true,
|
||||
SlowHash: true,
|
||||
PartialUploads: true,
|
||||
CanHaveEmptyDirectories: true,
|
||||
SlowHash: true,
|
||||
PartialUploads: true,
|
||||
DirModTimeUpdatesOnWrite: true, // indicate writing files to a directory updates its modtime
|
||||
}).Fill(ctx, f)
|
||||
if !opt.CopyIsHardlink {
|
||||
// Disable server side copy unless --sftp-copy-is-hardlink is set
|
||||
|
Loading…
Reference in New Issue
Block a user