sftp: set DirModTimeUpdatesOnWrite to fix integration tests

This commit is contained in:
Nick Craig-Wood 2024-03-01 11:29:08 +00:00
parent 3bb9394ae5
commit 1693d7ad0f

View File

@ -1069,6 +1069,7 @@ func NewFsWithConnection(ctx context.Context, f *Fs, name string, root string, m
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