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

@@ -500,6 +500,7 @@ func NewFsWithConnection(ctx context.Context, name string, root string, m config
}
f.features = (&fs.Features{
CanHaveEmptyDirectories: true,
SlowHash: true,
}).Fill(f)
// Make a connection and pool it to return errors early
c, err := f.getSftpConnection()