summaryrefslogtreecommitdiffstats
path: root/lib/public/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-12-02 13:36:33 +0100
committerRobin Appelman <icewind@owncloud.com>2016-01-20 16:32:52 +0100
commit99415a9f7fa26a990848c2cb63333552c1619729 (patch)
tree903a7b9c79cc5db91c12964c4db89c1b8381a9d3 /lib/public/files
parent222e719c8760871376327c1f353fe725b430614c (diff)
downloadnextcloud-server-99415a9f7fa26a990848c2cb63333552c1619729.tar.gz
nextcloud-server-99415a9f7fa26a990848c2cb63333552c1619729.zip
multiple minor fies
Diffstat (limited to 'lib/public/files')
-rw-r--r--lib/public/files/config/icachedmountinfo.php2
-rw-r--r--lib/public/files/config/imountprovidercollection.php8
-rw-r--r--lib/public/files/config/iusermountcache.php2
3 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/files/config/icachedmountinfo.php b/lib/public/files/config/icachedmountinfo.php
index dc2eb8e0db5..a587427f1f2 100644
--- a/lib/public/files/config/icachedmountinfo.php
+++ b/lib/public/files/config/icachedmountinfo.php
@@ -25,6 +25,8 @@ use OCP\Files\Node;
use OCP\IUser;
/**
+ * Holds information about a mount for a user
+ *
* @since 9.0.0
*/
interface ICachedMountInfo {
diff --git a/lib/public/files/config/imountprovidercollection.php b/lib/public/files/config/imountprovidercollection.php
index 071a8b2bfc4..39da61812a9 100644
--- a/lib/public/files/config/imountprovidercollection.php
+++ b/lib/public/files/config/imountprovidercollection.php
@@ -46,4 +46,12 @@ interface IMountProviderCollection {
* @since 8.0.0
*/
public function registerProvider(IMountProvider $provider);
+
+ /**
+ * Get the mount cache which can be used to search for mounts without setting up the filesystem
+ *
+ * @return IUserMountCache
+ * @since 9.0.0
+ */
+ public function getMountCache();
}
diff --git a/lib/public/files/config/iusermountcache.php b/lib/public/files/config/iusermountcache.php
index 6756df56c95..156ebbf448c 100644
--- a/lib/public/files/config/iusermountcache.php
+++ b/lib/public/files/config/iusermountcache.php
@@ -25,6 +25,8 @@ use OCP\Files\Mount\IMountPoint;
use OCP\IUser;
/**
+ * Cache mounts points per user in the cache so we can easily look them up
+ *
* @since 9.0.0
*/
interface IUserMountCache {