summaryrefslogtreecommitdiffstats
path: root/lib/public/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-04-15 14:03:48 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-04-19 14:04:00 +0200
commit2f1c62ce0b022a2549ff80a299b8a3b314106fae (patch)
tree9ddac98ce1f4ad51cff1bcfaa130b229665b7c31 /lib/public/files
parentc98fef8a51aa9828097db697fde2641771ed24c7 (diff)
downloadnextcloud-server-2f1c62ce0b022a2549ff80a299b8a3b314106fae.tar.gz
nextcloud-server-2f1c62ce0b022a2549ff80a299b8a3b314106fae.zip
Only construct the storage when we start using it
Diffstat (limited to 'lib/public/files')
-rw-r--r--lib/public/files/mount/imountpoint.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/files/mount/imountpoint.php b/lib/public/files/mount/imountpoint.php
index 9ce1396c1d1..bc7bf81709f 100644
--- a/lib/public/files/mount/imountpoint.php
+++ b/lib/public/files/mount/imountpoint.php
@@ -94,4 +94,12 @@ interface IMountPoint {
* @since 8.1.0
*/
public function getOptions();
+
+ /**
+ * Get the file id of the root of the storage
+ *
+ * @return int
+ * @since 9.1.0
+ */
+ public function getStorageRootId();
}