[BasicIndexingJob] Skip lookup of baloo document type for directories
ClosedPublic

Authored by bruns on Jun 9 2019, 4:45 PM.

Details

Summary

typesForMimeType("inode/directory") returns an empty list, so there is
no need to do the lookup.

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.
bruns created this revision.Jun 9 2019, 4:45 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptJun 9 2019, 4:45 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Jun 9 2019, 4:45 PM
poboiko accepted this revision.Jun 10 2019, 9:27 AM
This revision is now accepted and ready to land.Jun 10 2019, 9:27 AM
This revision was automatically updated to reflect the committed changes.