[tracker/removable-opticals: 8/9] libtracker-miner: Update explanation of the tracker_miner_fs_directory_remove_full() method
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/removable-opticals: 8/9] libtracker-miner: Update explanation of the tracker_miner_fs_directory_remove_full() method
- Date: Thu, 17 Jun 2010 13:39:13 +0000 (UTC)
commit 5312946cfe47f9bac5bc01d62b0dd5801d9e9b5a
Author: Aleksander Morgado <aleksander lanedo com>
Date: Thu Jun 17 15:03:34 2010 +0200
libtracker-miner: Update explanation of the tracker_miner_fs_directory_remove_full() method
...to indicate that the indexed contents are removed recursively also from the store.
src/libtracker-miner/tracker-miner-fs.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 553da50..a57454c 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -3276,7 +3276,8 @@ tracker_miner_fs_directory_remove (TrackerMinerFS *fs,
* @file: #GFile for the directory to be removed
*
* Removes a directory from being inspected by @fs, and removes all
- * associated metadata from the store.
+ * associated metadata of the directory (and its contents) from the
+ * store.
*
* Returns: %TRUE if the directory was successfully removed.
**/
@@ -3289,7 +3290,8 @@ tracker_miner_fs_directory_remove_full (TrackerMinerFS *fs,
/* Tell miner not to keep on inspecting the directory... */
if (tracker_miner_fs_directory_remove (fs, file)) {
- /* And remove all info about the directory from the store... */
+ /* And remove all info about the directory (recursively)
+ * from the store... */
g_queue_push_tail (fs->private->items_deleted,
g_object_ref (file));
item_queue_handlers_set_up (fs);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]