mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
mountlib: store only Node in *Dir removing DirEntry struct
This commit is contained in:
@@ -301,7 +301,7 @@ func (fsys *FS) Readdir(dirPath string,
|
||||
fill(".", nil, 0)
|
||||
fill("..", nil, 0)
|
||||
for _, item := range items {
|
||||
name := path.Base(item.Obj.Remote())
|
||||
name := path.Base(item.DirEntry().Remote())
|
||||
fill(name, nil, 0)
|
||||
}
|
||||
itemsRead = len(items)
|
||||
|
||||
Reference in New Issue
Block a user