1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 15:04:42 +00:00

chore: auto format code

This commit is contained in:
Tw93
2025-12-12 07:01:46 +00:00
parent 749ed2230b
commit 4ff20ff4e5

View File

@@ -506,7 +506,6 @@ func calculateDirSizeConcurrent(root string, largeFileChan chan<- fileEntry, fil
largeFileChan <- fileEntry{Name: child.Name(), Path: fullPath, Size: size}
}
// Update current path occasionally to prevent UI jitter
if currentPath != nil && atomic.LoadInt64(filesScanned)%int64(batchUpdateSize) == 0 {
*currentPath = fullPath