This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
JointCloud
/
JCS-pub
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
修复测试发现的bug
feature_gxh
Sydonian
4 months ago
parent
f751d352b1
commit
2a913e7a6c
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
client/internal/mount/vfs/cache/cache.go
+ 5
- 0
client/internal/mount/vfs/cache/cache.go
View File
@@ -799,6 +799,11 @@ func (c *Cache) scanningData() {
continue
}
// 按Readdir函数的说法,不会存在len(e) == 0且err == nil的情况,但实际发生了
if len(e) == 0 {
continue
}
if e[0].IsDir() {
child, err := os.Open(filepath.Join(lastNode.Name(), e[0].Name()))
if err != nil {
Write
Preview
Loading…
Cancel
Save