[tracker-miners/wip/carlosg/delete-perf: 2/5] libtracker-miner: Propagate is_dir from the queued event
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/delete-perf: 2/5] libtracker-miner: Propagate is_dir from the queued event
- Date: Fri, 25 Dec 2020 14:35:30 +0000 (UTC)
commit d158ff011fc91560e719d3ee4849e88037718791
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Dec 21 12:27:46 2020 +0100
libtracker-miner: Propagate is_dir from the queued event
This somehow went missed, eek. Currently convenient for move events, but
will be too for delete events.
src/libtracker-miner/tracker-miner-fs.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 1ebf4e7f8..d74020bc6 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1321,6 +1321,7 @@ item_queue_get_next_file (TrackerMinerFS *fs,
*type = event->type;
*attributes_update = event->attributes_update;
+ *is_dir = event->is_dir;
g_set_object (info, event->info);
queue_event_free (event);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]