Diffusion Baloo 6fb268be2c42

databasesanitizer: Use flags for filtering

Authored by michaelh on Apr 14 2018, 8:32 PM.

Description

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

Details

Committed
michaelhApr 15 2018, 12:00 PM
Reviewer
Baloo
Differential Revision
D11745: databasesanitizer: Use flags for filtering
Parents
R293:c91c43393c33: Fix merging of terms in the AdvancedQueryParser
Branches
Unknown
Tags
Unknown