summaryrefslogtreecommitdiffstats
path: root/lib/public/Files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-09-18 18:36:53 +0200
committerRobin Appelman <robin@icewind.nl>2016-10-12 16:12:28 +0200
commit0d842e0550a15b7b6c501dae2ec24a61b72ef8c9 (patch)
tree06c880a305b73d603675b724ae73c944ad484225 /lib/public/Files
parentb2d68c00091f8bcba104cabfe0f7e2c78cc7a8d0 (diff)
downloadnextcloud-server-0d842e0550a15b7b6c501dae2ec24a61b72ef8c9.tar.gz
nextcloud-server-0d842e0550a15b7b6c501dae2ec24a61b72ef8c9.zip
optimize Folder::getById to use less queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/Files')
-rw-r--r--lib/public/Files/Config/ICachedMountInfo.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Files/Config/ICachedMountInfo.php b/lib/public/Files/Config/ICachedMountInfo.php
index 2986f1d98c5..f5c5bb87ead 100644
--- a/lib/public/Files/Config/ICachedMountInfo.php
+++ b/lib/public/Files/Config/ICachedMountInfo.php
@@ -68,4 +68,12 @@ interface ICachedMountInfo {
* @since 9.1.0
*/
public function getMountId();
+
+ /**
+ * Get the internal path (within the storage) of the root of the mount
+ *
+ * @return string
+ * @since 9.2.0
+ */
+ public function getRootInternalPath();
}