diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-17 17:13:41 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-17 17:13:46 +0200 |
commit | e47cfc9a546ff73f258b6350a4105986c2386be4 (patch) | |
tree | c3ea10b78483023ce55ecb75a36f4c8207c51b14 /lib/public/Files | |
parent | f6daf17fa773bd4b9c9aae070e39dfbefe8de935 (diff) | |
download | nextcloud-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/public/Files')
-rw-r--r-- | lib/public/Files/Config/IMountProviderCollection.php | 8 | ||||
-rw-r--r-- | lib/public/Files/Config/IRootMountProvider.php | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lib/public/Files/Config/IMountProviderCollection.php b/lib/public/Files/Config/IMountProviderCollection.php index 89b333b3e85..a4131514662 100644 --- a/lib/public/Files/Config/IMountProviderCollection.php +++ b/lib/public/Files/Config/IMountProviderCollection.php @@ -79,4 +79,12 @@ interface IMountProviderCollection { * @since 9.0.0 */ public function getMountCache(); + + /** + * Get all root mountpoints + * + * @return \OCP\Files\Mount\IMountPoint[] + * @since 20.0.0 + */ + public function getRootMounts(): array; } diff --git a/lib/public/Files/Config/IRootMountProvider.php b/lib/public/Files/Config/IRootMountProvider.php index 0f7b0eca3d4..745fa530bed 100644 --- a/lib/public/Files/Config/IRootMountProvider.php +++ b/lib/public/Files/Config/IRootMountProvider.php @@ -32,7 +32,7 @@ use OCP\Files\Storage\IStorageFactory; */ interface IRootMountProvider { /** - * Get all root mountpoints + * Get all root mountpoints of this provider * * @return \OCP\Files\Mount\IMountPoint[] * @since 20.0.0 |