mirror of
https://github.com/tw93/Mole.git
synced 2026-02-11 10:04:19 +00:00
chore: auto format code
This commit is contained in:
@@ -506,7 +506,6 @@ func calculateDirSizeConcurrent(root string, largeFileChan chan<- fileEntry, fil
|
|||||||
largeFileChan <- fileEntry{Name: child.Name(), Path: fullPath, Size: size}
|
largeFileChan <- fileEntry{Name: child.Name(), Path: fullPath, Size: size}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Update current path occasionally to prevent UI jitter
|
// Update current path occasionally to prevent UI jitter
|
||||||
if currentPath != nil && atomic.LoadInt64(filesScanned)%int64(batchUpdateSize) == 0 {
|
if currentPath != nil && atomic.LoadInt64(filesScanned)%int64(batchUpdateSize) == 0 {
|
||||||
*currentPath = fullPath
|
*currentPath = fullPath
|
||||||
|
|||||||
Reference in New Issue
Block a user