Archived
gui, lib/db: Correct space accounting of symlinks, for "out of sync" status
This commit is contained in:
1 parent
a7f7058636
commit
a9b03de99a
4 files changed
+5
-5
No files matched your search
@@ -63,7 +63,7 @@ func (f FileInfo) FileSize() int64 {
|
||||
if f.Deleted {
|
||||
return 0
|
||||
}
|
||||
if f.IsDirectory() {
|
||||
if f.IsDirectory() || f.IsSymlink() {
|
||||
return SyntheticDirectorySize
|
||||
}
|
||||
return f.Size
|
||||
|
||||
Reference in new issue
Block a user