[tracker/external-crawler: 22/27] libtracker-miner: MinerFS _force_mtime_checking() didn't have mtime check flag
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/external-crawler: 22/27] libtracker-miner: MinerFS _force_mtime_checking() didn't have mtime check flag
- Date: Fri, 6 Jun 2014 13:58:09 +0000 (UTC)
commit 4de1937d679a85c1dd9b9846cb8f889c7ddd4528
Author: Martyn Russell <martyn lanedo com>
Date: Mon May 19 16:53:57 2014 +0100
libtracker-miner: MinerFS _force_mtime_checking() didn't have mtime check flag
src/libtracker-miner/tracker-miner-fs.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 0d1709b..4b54a5d 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -3849,13 +3849,11 @@ tracker_miner_fs_force_mtime_checking (TrackerMinerFS *fs,
g_return_if_fail (TRACKER_IS_MINER_FS (fs));
g_return_if_fail (G_IS_FILE (directory));
- if (fs->priv->enumerator) {
- /* Essentially, this is a not doing anything special */
- flags = TRACKER_DIRECTORY_FLAG_RECURSE;
- } else {
- flags = TRACKER_DIRECTORY_FLAG_RECURSE |
- TRACKER_DIRECTORY_FLAG_CHECK_MTIME |
- TRACKER_DIRECTORY_FLAG_MONITOR;
+ flags = TRACKER_DIRECTORY_FLAG_RECURSE |
+ TRACKER_DIRECTORY_FLAG_CHECK_MTIME;
+
+ if (!fs->priv->enumerator) {
+ flags |= TRACKER_DIRECTORY_FLAG_MONITOR;
}
tracker_indexing_tree_add (fs->priv->indexing_tree,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]