|
|
@ -116,6 +116,7 @@ func (fsStatus *FilesystemStatus) parseFile(indexBucket, picksBucket *bolt.Bucke |
|
|
|
|
|
|
|
defer func() { |
|
|
|
bar.Increment() |
|
|
|
fsStatusWG.Done() |
|
|
|
}() |
|
|
|
|
|
|
|
pick = picksBucket.Get([]byte(p)) |
|
|
@ -145,12 +146,13 @@ func (fsStatus *FilesystemStatus) parseFile(indexBucket, picksBucket *bolt.Bucke |
|
|
|
fsStatusWG.Wait() |
|
|
|
fsStatusWG.Add(1) |
|
|
|
fsStatus.ModifiedFiles = append(fsStatus.ModifiedFiles, p) |
|
|
|
fsStatusWG.Done() |
|
|
|
} |
|
|
|
|
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
fsStatusWG.Wait() |
|
|
|
fsStatusWG.Add(1) |
|
|
|
fsStatus.NewFiles = append(fsStatus.NewFiles, p) |
|
|
|
|
|
|
|
return |
|
|
|