diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2015-08-12 15:02:24 +0100 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2015-08-12 15:02:24 +0100 |
commit | 0fc3cfd620362137207608203972289c1e1e3083 (patch) | |
tree | 2b41f76fa76de78d320c193b091d9145fab76bd2 /utils/sandbox/tracker-sandbox.py | |
parent | bbe147f2bb66045944efdad4790df81477d62875 (diff) | |
download | tracker-0fc3cfd620362137207608203972289c1e1e3083.tar.gz |
libtracker-miner: Add ownership tracking, and tracker_miner_fs_ignore()
This lets us add external (D-Bus) functions to control the internal
TrackerIndexingTree, and thus control from outside the miner what is
being indexed and what is not. Previously the only way to control that
was via GSettings.
The tracker_miner_fs_directory_add() functions now take an 'owner'
parameter so they can keep track of who is interested in each configured
indexing root. The tracker_miner_fs_ignore() function lets a given owner
that previously expressed interest in an indexing root now say that they
are not interested. If that indexing root has no 'owners' left, it is
deleted from the TrackerIndexingTree, which cancels any running indexing
tasks and removes any monitors.
Diffstat (limited to 'utils/sandbox/tracker-sandbox.py')
0 files changed, 0 insertions, 0 deletions