diff options
Diffstat (limited to 'lib/files/storage/common.php')
-rw-r--r-- | lib/files/storage/common.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/files/storage/common.php b/lib/files/storage/common.php index 3cf960d05df..ab167f28646 100644 --- a/lib/files/storage/common.php +++ b/lib/files/storage/common.php @@ -250,6 +250,13 @@ abstract class Common implements \OC\Files\Storage\Storage { } /** + * @return \OC\Files\Cache\Watcher + */ + public function getWatcher(){ + return new \OC\Files\Cache\Watcher($this); + } + + /** * get the owner of a path * @param string $path The path to get the owner * @return string uid or false |