aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files/storage
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-21 02:12:58 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-21 02:12:58 +0200
commit2522c25af726a8487ac13855e8a035b990cd69a4 (patch)
tree18bc6a21eda6b3e8aa2303a25e063e2f2df3011b /lib/files/storage
parent01594b8610ce4f08e28010994d9cbecda4c52e35 (diff)
downloadnextcloud-server-2522c25af726a8487ac13855e8a035b990cd69a4.tar.gz
nextcloud-server-2522c25af726a8487ac13855e8a035b990cd69a4.zip
use OC_Files::getFileInfo and OC_Files::getDirectoryContent as high level api for the filecache
most apps would want to use this api instead of using the cache directly
Diffstat (limited to 'lib/files/storage')
-rw-r--r--lib/files/storage/storage.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/files/storage/storage.php b/lib/files/storage/storage.php
index b1ec0bdb500..853e8ba5198 100644
--- a/lib/files/storage/storage.php
+++ b/lib/files/storage/storage.php
@@ -52,6 +52,13 @@ interface Storage{
* returning true for other changes in the folder is optional
*/
public function hasUpdated($path,$time);
+
+ /**
+ * @return \OC\Files\Cache\Cache
+ */
public function getCache();
+ /**
+ * @return \OC\Files\Cache\Scanner
+ */
public function getScanner();
}