diff --git a/vfs/dir.go b/vfs/dir.go index c0acdbf85..4d831cff8 100644 --- a/vfs/dir.go +++ b/vfs/dir.go @@ -191,6 +191,9 @@ func (d *Dir) _readDir() error { found := make(map[string]struct{}) for _, entry := range entries { name := path.Base(entry.Remote()) + if name == "." || name == ".." { + continue + } node := d.items[name] found[name] = struct{}{} switch item := entry.(type) {