Compare commits
2 commits
054c1c23a5
...
1339d642dd
Author | SHA1 | Date | |
---|---|---|---|
Lilian Jónsdóttir | 1339d642dd | ||
Lilian Jónsdóttir | 07424ecd36 |
|
@ -45,6 +45,8 @@ 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