trash: Fix directorysizes cache parsing
ClosedPublic

Authored by volkov on Sep 6 2018, 4:01 PM.

Details

Summary

Entries in this file have the following format:
[size] [mtime] [percent-encoded-directory-name]
, and TrashSizeCache::add() writes them correctly,
but TrashSizeCache::calculateSize() reads [mtime]
as [size] and vice versa.

Diff Detail

Repository
R241 KIO
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 2558
Build 2576: arc lint + arc unit
volkov created this revision.Sep 6 2018, 4:01 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptSep 6 2018, 4:01 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
volkov requested review of this revision.Sep 6 2018, 4:01 PM
dfaure accepted this revision.Sep 6 2018, 8:12 PM

Whoops!

This revision is now accepted and ready to land.Sep 6 2018, 8:12 PM
volkov closed this revision.Sep 6 2018, 9:43 PM