summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-17 17:13:41 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-17 17:13:46 +0200
commite47cfc9a546ff73f258b6350a4105986c2386be4 (patch)
treec3ea10b78483023ce55ecb75a36f4c8207c51b14 /lib/private/Files
parentf6daf17fa773bd4b9c9aae070e39dfbefe8de935 (diff)
downloadnextcloud-server-e47cfc9a546ff73f258b6350a4105986c2386be4.tar.gz
nextcloud-server-e47cfc9a546ff73f258b6350a4105986c2386be4.zip
Properly add new methods to interface and document in PHPDoc for getRootMounts()
Introduced in #22063 and was just forgotten. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Files')
-rw-r--r--lib/private/Files/Config/MountProviderCollection.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/Files/Config/MountProviderCollection.php b/lib/private/Files/Config/MountProviderCollection.php
index 2b57ffe6e4c..3900e9870bd 100644
--- a/lib/private/Files/Config/MountProviderCollection.php
+++ b/lib/private/Files/Config/MountProviderCollection.php
@@ -207,6 +207,12 @@ class MountProviderCollection implements IMountProviderCollection, Emitter {
$this->rootProviders[] = $provider;
}
+ /**
+ * Get all root mountpoints
+ *
+ * @return \OCP\Files\Mount\IMountPoint[]
+ * @since 20.0.0
+ */
public function getRootMounts(): array {
$loader = $this->loader;
$mounts = array_map(function (IRootMountProvider $provider) use ($loader) {