Compare commits

..

2 commits

Author SHA1 Message Date
Lilian Jónsdóttir 054c1c23a5 version bump - v0.0.3
- add support for .Trash and .Trash-$(id -u) directories on non-home partitions
- add support for reading from and writing to $trashDir/directorysizes
2024-08-14 19:01:54 -07:00
Lilian Jónsdóttir cb47a01884 add support for reading/writing $trashDir/directorysizes
- show total trash size in header
2024-08-14 19:01:54 -07:00

View file

@ -45,8 +45,6 @@ func (fls Files) TotalSize() int64 {
log.Debugf("%s: got %d from directorysizes", file.Name(), d.size)
size += d.size
continue
} else {
size += calculateDirSize(file.Path())
}
}
size += file.Filesize()