Browse Source

优化代码

gitlink
Sydonian 7 months ago
parent
commit
59dde3a28f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      client/internal/mount/vfs/cache/cache.go

+ 1
- 1
client/internal/mount/vfs/cache/cache.go View File

@@ -575,7 +575,7 @@ func (c *Cache) scanningData() {
lastNode := walkTrace[len(walkTrace)-1] lastNode := walkTrace[len(walkTrace)-1]
visitCnt++ visitCnt++


e, err := lastNode.ReadDir(1)
e, err := lastNode.Readdir(1)
if err == io.EOF { if err == io.EOF {
lastNode.Close() lastNode.Close()
walkTrace = walkTrace[:len(walkTrace)-1] walkTrace = walkTrace[:len(walkTrace)-1]


Loading…
Cancel
Save