]> cloud.milkyroute.net Git - dolphin.git/commit
Don't recurse into symlinks when counting directory contents
authorFabian Vogt <fabian@ritter-vogt.de>
Mon, 2 Jan 2023 13:53:42 +0000 (14:53 +0100)
committerFabian Vogt <fabian@ritter-vogt.de>
Mon, 9 Jan 2023 15:21:31 +0000 (16:21 +0100)
commita81b287e7af7db24ff26a659fe599e5a8b290bd1
treedc05d86a3ab7987df31907d80e19f7b87625221c
parenteede5747237ac736340b01ad5b913f479011ddff
Don't recurse into symlinks when counting directory contents

Symlink contents should not be visited for the purpose of displaying sizes.
Not only is potentially misleading because the storage is actually used
elsewhere (the target location), it can be completely wrong as contents can
be visited multiple times, even recursively.

BUG: 434125
(cherry picked from commit 491068a4405f93ce66d4f49fa5ba5dee29e9546b)
src/kitemviews/private/kdirectorycontentscounterworker.cpp