We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 195e2c7 commit 61a4041Copy full SHA for 61a4041
walk.go
@@ -2,7 +2,6 @@ package hdfs
2
3
import (
4
"os"
5
- "path"
6
"path/filepath"
7
"sort"
8
)
@@ -43,7 +42,7 @@ func (c *Client) walk(path string, walkFn filepath.WalkFunc) error {
43
42
44
sort.Strings(names)
45
for _, name := range names {
46
- err = c.walk(path.Join(path, name), walkFn)
+ err = c.walk(filepath.Join(path, name), walkFn)
47
if err != nil {
48
return err
49
}
0 commit comments