summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage/storage.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/storage/storage.php')
-rw-r--r--lib/private/files/storage/storage.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/files/storage/storage.php b/lib/private/files/storage/storage.php
index 3399c717890..fb59752ede1 100644
--- a/lib/private/files/storage/storage.php
+++ b/lib/private/files/storage/storage.php
@@ -76,6 +76,14 @@ interface Storage extends \OCP\Files\Storage {
public function getPropagator($storage = null);
/**
+ * get a updater instance for the cache
+ *
+ * @param \OC\Files\Storage\Storage (optional) the storage to pass to the watcher
+ * @return \OC\Files\Cache\Updater
+ */
+ public function getUpdater($storage = null);
+
+ /**
* @return \OC\Files\Cache\Storage
*/
public function getStorageCache();