D11745: databasesanitizer: Use flags for filtering

Michael Heidelbach noreply at phabricator.kde.org
Tue Mar 27 13:35:38 UTC 2018


michaelh created this revision.
michaelh added reviewers: Baloo, Frameworks.
Restricted Application added projects: Frameworks, Baloo.
michaelh requested review of this revision.

REVISION SUMMARY
  This is in preparation for the upcoming 'clean' and 'repair' commands.
  It also helps to keep the API stable.

TEST PLAN
    $ baloodb devices --missing-only --mounted-only
    Listing database contents...
    + device:2053 indexed-items:115 fstype:ext4 fsname:/dev/sda5 mount:/home
    + device:2049 indexed-items:19 fstype:ext4 fsname:/dev/sda1 mount:/
    + device:22 indexed-items:2 fstype:tmpfs fsname:tmpfs mount:/run
    Found 3 matching in 3 devices
    Elapsed: 3.447 secs

REPOSITORY
  R293 Baloo

BRANCH
  sanitize-enums (branched from master)

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

AFFECTED FILES
  src/engine/databasesanitizer.cpp
  src/engine/databasesanitizer.h
  src/tools/baloodb/main.cpp

To: michaelh, #baloo, #frameworks
Cc: ngraham, smithjd, ashaposhnikov, michaelh, astippich, spoorun, nicolasfella, alexeymin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180327/7ce3edff/attachment.html>


More information about the Kde-frameworks-devel mailing list