Compare commits
2 commits
1339d642dd
...
054c1c23a5
Author | SHA1 | Date | |
---|---|---|---|
Lilian Jónsdóttir | 054c1c23a5 | ||
Lilian Jónsdóttir | cb47a01884 |
|
@ -45,8 +45,6 @@ func (fls Files) TotalSize() int64 {
|
||||||
log.Debugf("%s: got %d from directorysizes", file.Name(), d.size)
|
log.Debugf("%s: got %d from directorysizes", file.Name(), d.size)
|
||||||
size += d.size
|
size += d.size
|
||||||
continue
|
continue
|
||||||
} else {
|
|
||||||
size += calculateDirSize(file.Path())
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
size += file.Filesize()
|
size += file.Filesize()
|
||||||
|
|
Loading…
Reference in a new issue