diff options
author | Robin Appelman <robin@icewind.nl> | 2015-03-19 16:20:38 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2015-03-19 16:20:38 +0100 |
commit | 73874ca27f102b40f40df70367e01a4045a17b3e (patch) | |
tree | 7f92975f05831748d873a5dec4c259100e51fbf0 /lib/private/files/cache | |
parent | be6edd465a5a77ea859661feaedbeacd5a66f9db (diff) | |
parent | 7ab919256b066970a0a7139ab19bcdae5773c036 (diff) | |
download | nextcloud-server-73874ca27f102b40f40df70367e01a4045a17b3e.tar.gz nextcloud-server-73874ca27f102b40f40df70367e01a4045a17b3e.zip |
Merge pull request #14704 from owncloud/storage-wrapper-mount
pass mountpoint to storage wrapper callback
Diffstat (limited to 'lib/private/files/cache')
-rw-r--r-- | lib/private/files/cache/watcher.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/files/cache/watcher.php b/lib/private/files/cache/watcher.php index f4572895b09..22c3fb202c3 100644 --- a/lib/private/files/cache/watcher.php +++ b/lib/private/files/cache/watcher.php @@ -52,6 +52,13 @@ class Watcher { } /** + * @return int either \OC\Files\Cache\Watcher::CHECK_NEVER, \OC\Files\Cache\Watcher::CHECK_ONCE, \OC\Files\Cache\Watcher::CHECK_ALWAYS + */ + public function getPolicy() { + return $this->watchPolicy; + } + + /** * check $path for updates * * @param string $path |