mirror of
https://github.com/rclone/rclone.git
synced 2025-08-13 15:37:26 +02:00
fs: Add CanHaveEmptyDirectories and BucketBased feature flags to all remotes
This commit is contained in:
@ -190,7 +190,11 @@ func NewFs(name, root string) (fs.Fs, error) {
|
||||
pacer: pacer.New().SetMinSleep(minSleep).SetPacer(pacer.AmazonCloudDrivePacer),
|
||||
noAuthClient: fs.Config.Client(),
|
||||
}
|
||||
f.features = (&fs.Features{CaseInsensitive: true, ReadMimeType: true}).Fill(f)
|
||||
f.features = (&fs.Features{
|
||||
CaseInsensitive: true,
|
||||
ReadMimeType: true,
|
||||
CanHaveEmptyDirectories: true,
|
||||
}).Fill(f)
|
||||
|
||||
// Renew the token in the background
|
||||
f.tokenRenewer = oauthutil.NewRenew(f.String(), ts, func() error {
|
||||
|
Reference in New Issue
Block a user