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 f46ac544b56..3399c717890 100644
--- a/lib/private/files/storage/storage.php
+++ b/lib/private/files/storage/storage.php
@@ -68,6 +68,14 @@ interface Storage extends \OCP\Files\Storage {
public function getWatcher($path = '', $storage = null);
/**
+ * get a propagator instance for the cache
+ *
+ * @param \OC\Files\Storage\Storage (optional) the storage to pass to the watcher
+ * @return \OC\Files\Cache\Propagator
+ */
+ public function getPropagator($storage = null);
+
+ /**
* @return \OC\Files\Cache\Storage
*/
public function getStorageCache();