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 87555a7 commit 202137fCopy full SHA for 202137f
readdir.go
@@ -40,7 +40,7 @@ func (p *Path) ReadDir() (PathList, error) {
40
}
41
paths := PathList{}
42
for _, info := range infos {
43
- path := p.Clone().Join(info.Name())
+ path := p.Join(info.Name())
44
paths.Add(path)
45
46
return paths, nil
@@ -55,7 +55,7 @@ func (p *Path) ReadDirRecursive() (PathList, error) {
55
56
57
58
59
60
61
if isDir, err := path.IsDirCheck(); err != nil {
0 commit comments