Diffusion Baloo c76397081d1e

[FileWatch] Fix watch updates on config changes

Authored by bruns on Apr 25 2020, 4:33 PM.

Description

[FileWatch] Fix watch updates on config changes

Summary:
Track the current list of include/exclude folders, and on a config change
add/remove watches for the differences. Previously, when an include
folder was removed the corresponding watches were never removed.

Depends on D29190, D29189

Test Plan: ctest -R filewatchtest

Reviewers: Baloo, ngraham, meven

Reviewed By: meven

Subscribers: meven, kde-frameworks-devel

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D29191

Details

Committed
brunsApr 26 2020, 2:26 PM
Reviewer
meven
Differential Revision
D29191: [FileWatch] Fix watch updates on config changes
Parents
R293:73183acf00a2: [KInotify] Fix path matching when removing watches
Branches
Unknown
Tags
Unknown