We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97f108c commit 744cb4eCopy full SHA for 744cb4e
pkg/commands/cache.go
@@ -64,7 +64,7 @@ func dirSizeBytes(path string) (int64, error) {
64
var size int64
65
err := filepath.Walk(path, func(_ string, info os.FileInfo, err error) error {
66
if err == nil && !info.IsDir() {
67
- size = info.Size()
+ size += info.Size()
68
}
69
return err
70
})
0 commit comments