mirror of
https://github.com/rclone/rclone.git
synced 2025-08-15 16:22:47 +02:00
Create fs.Directory interface and use it everywhere
This commit is contained in:
@ -177,8 +177,8 @@ func (ls *listDirs) WalkR() {
|
||||
}
|
||||
}
|
||||
|
||||
func newDir(name string) *Dir {
|
||||
return &Dir{Name: name}
|
||||
func newDir(name string) Directory {
|
||||
return NewDir(name, time.Time{})
|
||||
}
|
||||
|
||||
func testWalkEmpty(t *testing.T) *listDirs {
|
||||
|
Reference in New Issue
Block a user