mirror of
https://github.com/rclone/rclone.git
synced 2025-07-16 22:42:36 +02:00
Create fs.Directory interface and use it everywhere
This commit is contained in:
@ -99,7 +99,7 @@ can be processed line by line as each item is written one to a line.
|
||||
item.ModTime = Timestamp(entry.ModTime())
|
||||
}
|
||||
switch x := entry.(type) {
|
||||
case *fs.Dir:
|
||||
case fs.Directory:
|
||||
item.IsDir = true
|
||||
case fs.Object:
|
||||
item.IsDir = false
|
||||
|
Reference in New Issue
Block a user