fs: define SlowModTime and SlowHash features in the relevant backends

This commit is contained in:
Nick Craig-Wood
2020-06-19 10:28:34 +01:00
parent af601575cb
commit c820576329
6 changed files with 11 additions and 0 deletions

View File

@@ -231,6 +231,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {
CaseInsensitive: f.caseInsensitive(),
CanHaveEmptyDirectories: true,
IsLocal: true,
SlowHash: true,
}).Fill(f)
if opt.FollowSymlinks {
f.lstat = os.Stat