Add more tests for List() and fix resulting problems

This commit is contained in:
Nick Craig-Wood
2016-05-07 14:50:35 +01:00
parent 68ec6a9f5b
commit c2d0e86431
19 changed files with 369 additions and 137 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ func (f *Fs) List(out fs.ListOpts, dir string) {
// Start the process
traversing.Add(1)
in <- listArgs{remote: "", dirpath: root, level: out.Level() - 1}
in <- listArgs{remote: dir, dirpath: root, level: out.Level() - 1}
for i := 0; i < fs.Config.Checkers; i++ {
wg.Add(1)
go func() {