"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
dropbox: ensure folders show the modtime configured by --default-time #6986
Nick Craig-Wood84281c90891c
diff --git a/backend/dropbox/dropbox.go b/backend/dropbox/dropbox.goindex 4603898e4..eaefaa4b1 100644--- a/backend/dropbox/dropbox.go+++ b/backend/dropbox/dropbox.go@@ -719,7 +719,7 @@ func (f *Fs) listSharedFolders(ctx context.Context) (entries fs.DirEntries, err}for _, entry := range res.Entries {leaf := f.opt.Enc.ToStandardName(entry.Name)- d := fs.NewDir(leaf, time.Now()).SetID(entry.SharedFolderId)+ d := fs.NewDir(leaf, time.Time{}).SetID(entry.SharedFolderId)entries = append(entries, d)if err != nil {return nil, err@@ -906,7 +906,7 @@ func (f *Fs) List(ctx context.Context, dir string) (entries fs.DirEntries, err eleaf := f.opt.Enc.ToStandardName(path.Base(entryPath))remote := path.Join(dir, leaf)if folderInfo != nil {- d := fs.NewDir(remote, time.Now()).SetID(folderInfo.Id)+ d := fs.NewDir(remote, time.Time{}).SetID(folderInfo.Id)entries = append(entries, d)} else if fileInfo != nil {o, err := f.newObjectWithInfo(ctx, remote, fileInfo)