fs: Add CanHaveEmptyDirectories and BucketBased feature flags to all remotes
This commit is contained in:
+4
-1
@@ -92,7 +92,10 @@ func NewFs(name, root string) (fs.Fs, error) {
|
||||
dirNames: newMapper(),
|
||||
}
|
||||
f.root = f.cleanPath(root)
|
||||
f.features = (&fs.Features{CaseInsensitive: f.caseInsensitive()}).Fill(f)
|
||||
f.features = (&fs.Features{
|
||||
CaseInsensitive: f.caseInsensitive(),
|
||||
CanHaveEmptyDirectories: true,
|
||||
}).Fill(f)
|
||||
if *followSymlinks {
|
||||
f.lstat = os.Stat
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user