databasesanitizer: Use flags for filtering
Summary:
This is in preparation for the upcoming 'clean' and 'repair' commands.
It also helps to keep the API stable.
Depends on D11452
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
Reviewers: Baloo, Frameworks, bruns
Reviewed By: Baloo, bruns
Subscribers: bruns, ngraham, smithjd
Tags: Frameworks, Baloo
Maniphest Tasks: T8250
Differential Revision: https://phabricator.kde.org/D11745