Olivier Goffart
3bb364980c
FolderWatcher (linux): optimize slotAddFolderRecursive
...
- Instead of putting all the pathes in a big QStringList and then process them,
do the processing as we iterate with QDirIterator
- Since we know that the parent directory is not ignored, we can simplify the
ignore check by not checking the part before (i.e: we call
ExcludedFiles::isExcluded with the parent 'path' as base path) This is what
speeds up considerably the function.
Note that the OWNCLOUD_TEST check is already there in FolderWatcher::pathIsIgnored
so the behavior is not changed
2016-10-12 16:56:05 +02:00
..
2016-09-11 16:14:08 +02:00
2016-06-02 15:03:52 +02:00
2016-10-10 13:27:28 +02:00
2016-10-11 14:27:14 +02:00
2016-03-28 13:07:28 +02:00
2016-09-23 13:47:57 +02:00
2016-07-19 11:19:40 +02:00
2016-09-23 13:47:57 +02:00
2016-05-31 10:26:52 +02:00
2016-05-03 13:01:51 +02:00
2016-03-29 14:09:19 +02:00
2016-03-29 18:01:49 +02:00
2016-01-11 16:52:37 +01:00
2015-11-12 17:52:00 +01:00
2016-03-29 16:50:15 +02:00
2016-03-11 11:41:19 +01:00
2016-05-19 14:13:07 +02:00
2016-05-19 14:13:07 +02:00
2016-04-11 15:38:25 +02:00
2015-02-25 17:00:27 +01:00
2015-06-29 18:56:09 +02:00
2015-02-02 23:35:39 +01:00
2016-10-11 20:28:14 +02:00
2015-11-23 21:48:26 +01:00
2015-06-15 17:39:28 +02:00
2015-06-29 18:56:09 +02:00
2015-10-20 15:42:43 +02:00
2016-09-16 17:43:39 +02:00
2014-11-09 22:34:07 +01:00
2015-06-29 18:56:09 +02:00
2016-10-12 16:56:05 +02:00
2016-10-12 16:56:05 +02:00
2016-07-08 15:53:11 +08:00
2016-05-03 13:01:51 +02:00
2016-03-29 12:45:01 +02:00
2016-01-13 11:44:36 +01:00
2016-09-23 13:47:57 +02:00
2016-09-23 13:47:57 +02:00
2016-10-12 16:56:05 +02:00
2016-10-12 16:56:05 +02:00
2016-06-02 18:20:07 +02:00
2015-06-29 18:56:09 +02:00
2014-11-09 22:34:07 +01:00
2015-06-29 18:56:09 +02:00
2016-03-31 15:44:42 +02:00
2016-03-31 15:44:42 +02:00
2016-09-12 16:05:55 +02:00
2016-09-12 16:05:55 +02:00
2016-05-25 16:30:17 +02:00
2016-04-27 10:37:17 +02:00
2016-04-20 14:27:50 +02:00
2015-11-18 10:06:38 +01:00
2016-06-07 11:48:25 +02:00
2016-06-07 11:48:25 +02:00
2015-11-16 17:07:05 +01:00
2015-06-29 18:43:21 +02:00
2015-10-27 16:07:59 +01:00
2015-07-15 15:54:41 +02:00
2015-08-10 11:15:39 +02:00
2016-09-22 09:57:42 +02:00
2016-04-29 16:14:18 +02:00
2015-10-05 10:06:19 +05:45
2015-06-29 18:56:09 +02:00
2016-06-27 16:17:58 +02:00
2016-03-11 16:21:40 +01:00
2015-07-20 18:16:33 +02:00
2015-10-22 17:57:34 +02:00
2016-04-05 16:52:51 +02:00
2016-03-29 18:01:49 +02:00
2016-04-04 12:45:39 +02:00
2016-03-29 18:01:49 +02:00
2016-04-11 15:38:25 +02:00
2016-07-12 14:25:33 +02:00
2016-03-14 15:41:20 +01:00
2015-11-16 15:23:02 +01:00
2015-11-16 15:23:02 +01:00
2016-04-14 09:44:37 +02:00
2016-09-16 17:43:39 +02:00
2015-02-06 13:44:06 +01:00
2015-06-29 18:56:09 +02:00
2016-10-07 13:32:42 +02:00
2016-09-23 10:44:54 +02:00
2014-07-11 11:07:31 +02:00
2016-09-26 15:45:30 +02:00
2016-09-26 15:45:30 +02:00
2016-06-17 19:20:53 +02:00
2016-04-18 16:47:14 +02:00
2016-01-04 16:16:15 +01:00
2015-07-17 13:00:16 +02:00
2015-07-17 13:00:16 +02:00
2015-07-17 11:54:46 +02:00
2015-07-17 13:00:16 +02:00
2015-10-05 10:06:19 +05:45
2016-04-22 10:05:50 +02:00
2016-03-18 13:34:49 +01:00
2016-05-19 15:36:46 +02:00
2016-04-06 15:01:28 +02:00
2016-03-29 18:01:49 +02:00
2016-03-11 10:48:34 +01:00
2016-04-04 10:40:33 +02:00
2014-12-01 13:08:49 +01:00
2015-12-10 09:43:16 +01:00
2015-10-22 16:20:59 +02:00
2016-01-07 17:59:21 +01:00
2015-11-17 11:53:49 +01:00
2016-09-28 13:00:52 +02:00
2016-04-14 09:44:37 +02:00
2016-04-14 10:16:37 +02:00
2016-01-12 14:36:13 +01:00
2016-01-12 14:36:13 +01:00
2016-09-22 14:16:58 +02:00
2016-06-20 13:06:57 +02:00
2016-06-20 13:06:57 +02:00
2016-09-16 17:43:39 +02:00
2016-09-16 17:43:39 +02:00
2016-04-14 09:44:37 +02:00
2016-09-16 17:43:39 +02:00
2016-04-29 14:11:27 +02:00
2016-05-02 14:12:04 +02:00
2015-11-25 11:26:21 +01:00
2016-07-12 17:38:15 +02:00
2016-05-03 13:01:51 +02:00
2015-06-15 15:28:17 +02:00
2015-06-15 15:28:17 +02:00
2015-11-17 10:48:45 +01:00
2015-07-02 10:49:18 +02:00
2015-09-03 16:19:53 +02:00
2015-06-29 18:56:09 +02:00
2015-09-03 16:19:53 +02:00
2015-10-07 18:59:48 +02:00
2015-10-01 16:57:37 +02:00
2015-10-01 16:57:37 +02:00
2016-09-05 13:26:49 +02:00
2016-06-09 14:28:15 +02:00
2015-02-07 18:23:40 +01:00
2015-06-29 18:56:09 +02:00
2016-01-05 13:33:05 +01:00
2015-10-16 12:48:48 +02:00
2015-10-16 12:51:24 +02:00
2016-03-29 12:26:09 +02:00
2016-03-30 09:21:28 +02:00
2016-02-17 14:16:29 +01:00