summaryrefslogtreecommitdiffstats
path: root/lib/public/Files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-05-18 15:06:15 +0200
committerRobin Appelman <icewind@owncloud.com>2016-05-23 14:40:35 +0200
commiteca57be3367d9ea462f54cfb227701c8524a6764 (patch)
tree947b57cd8efc796871a8184e2ed00beee95c9ed9 /lib/public/Files
parent4ba36688346612ec480fd1eea3f192257919cdf7 (diff)
downloadnextcloud-server-eca57be3367d9ea462f54cfb227701c8524a6764.tar.gz
nextcloud-server-eca57be3367d9ea462f54cfb227701c8524a6764.zip
Only recurse into incomplete folders during background scans
Diffstat (limited to 'lib/public/Files')
-rw-r--r--lib/public/Files/Cache/IScanner.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/Files/Cache/IScanner.php b/lib/public/Files/Cache/IScanner.php
index ce1f408028c..74bc2fc8843 100644
--- a/lib/public/Files/Cache/IScanner.php
+++ b/lib/public/Files/Cache/IScanner.php
@@ -27,6 +27,7 @@ namespace OCP\Files\Cache;
* @since 9.0.0
*/
interface IScanner {
+ const SCAN_RECURSIVE_INCOMPLETE = 2; // only recursive into not fully scanned folders
const SCAN_RECURSIVE = true;
const SCAN_SHALLOW = false;