fs: Add CanHaveEmptyDirectories and BucketBased feature flags to all remotes
This commit is contained in:
parent
c1bfdd893f
commit
20ae7d562b
18 changed files with 88 additions and 25 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue