Browse Source

清理注释

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

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

@@ -552,8 +552,7 @@ func (c *Cache) visitNode(path []string, node *trie.Node[*CacheFile], ch *CacheF
shouldUpload = false
}

// 没有通过锁去读取Size,因为这里要求没那么严格
if !c.syncFilter.ShouldSync(ch.pathComps, ch.info.Size) {
if !c.syncFilter.ShouldSync(ch.pathComps, info.Size) {
shouldUpload = false
}



Loading…
Cancel
Save