Use statbuf consistently
ClosedPublic

Authored by michaelh on Apr 6 2018, 11:41 AM.

Details

Reviewers
bruns
Group Reviewers
Baloo
Commits
R293:b94a91a556b5: Use statbuf consistently
Test Plan

make test

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
michaelh created this revision.Apr 6 2018, 11:41 AM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 6 2018, 11:41 AM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
michaelh requested review of this revision.Apr 6 2018, 11:41 AM
bruns added inline comments.Apr 6 2018, 5:58 PM
src/file/basicindexingjob.cpp
54

Unneeded conversion, filePathToStat takes QByteArray

src/file/fileinfo.cpp
31

dito

src/kioslaves/search/kio_search.cpp
96–97

Temporary variable url = encodeName(filePath), like above?

src/kioslaves/timeline/kio_timeline.cpp
83–84

dito

michaelh updated this revision to Diff 31515.Apr 6 2018, 7:28 PM
  • Apply suggested changes
michaelh marked 4 inline comments as done.Apr 6 2018, 7:30 PM
michaelh updated this revision to Diff 31561.Apr 7 2018, 6:22 AM
  • Correct typo
bruns accepted this revision.Apr 7 2018, 9:31 PM

This obviously needs some cleanup, but this should not hold up this request ...

We should check if instead of replicating the code in the individual ioslaves we could push the createFileUdsEntry to the ResultIterator.

This revision is now accepted and ready to land.Apr 7 2018, 9:31 PM
This revision was automatically updated to reflect the committed changes.