D28384: [Extractor] Delay mimetype check, cleanup debug output

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sat Mar 28 17:41:58 GMT 2020


bruns created this revision.
bruns added reviewers: Baloo, ngraham.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  In case a file is skipped by a name filter there is no need to determine
  the mimetype (which is costly, as a content based mimetype is used here).
  
  Avoid multiple debug messages per file, only issue "Indexing ..." in
  case the file is not skipped. All "Skipping ..." paths have a distinct.
  debug/warning message.

REPOSITORY
  R293 Baloo

BRANCH
  submit

REVISION DETAIL
  https://phabricator.kde.org/D28384

AFFECTED FILES
  src/file/extractor/app.cpp

To: bruns, #baloo, ngraham
Cc: kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200328/bb9580f6/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list