fs: add IsLocal feature to identify local backend #3419
This commit is contained in:
parent
752d43d6fa
commit
f0e0d6cc3c
2 changed files with 2 additions and 0 deletions
|
@ -194,6 +194,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {
|
|||
f.features = (&fs.Features{
|
||||
CaseInsensitive: f.caseInsensitive(),
|
||||
CanHaveEmptyDirectories: true,
|
||||
IsLocal: true,
|
||||
}).Fill(f)
|
||||
if opt.FollowSymlinks {
|
||||
f.lstat = os.Stat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue