mirror of
https://github.com/rclone/rclone.git
synced 2025-08-12 06:59:29 +02:00
fs: add IsLocal feature to identify local backend #3419
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user