diff options
author | Robin Appelman <robin@icewind.nl> | 2022-03-08 19:12:26 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-03-24 19:01:38 +0300 |
commit | 469a684d45a3424a4ddd51a023f7b18fec0d950f (patch) | |
tree | 95b16e6b2d99ddda24bd77d0c2f6de2907d08ffb /lib/public | |
parent | 04052a959443c2df04a11ae1ed523eefd7e0a0ad (diff) |
allow getting mounts by provider
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Files/Config/IMountProviderCollection.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Files/Config/IMountProviderCollection.php b/lib/public/Files/Config/IMountProviderCollection.php index f845d72cee6..8a98c614a42 100644 --- a/lib/public/Files/Config/IMountProviderCollection.php +++ b/lib/public/Files/Config/IMountProviderCollection.php @@ -39,6 +39,16 @@ interface IMountProviderCollection { public function getMountsForUser(IUser $user); /** + * Get the configured mount points for the user from a specific mount provider + * + * @param \OCP\IUser $user + * @param class-string<IMountProvider> $mountProviderClass + * @return \OCP\Files\Mount\IMountPoint[] + * @since 24.0.0 + */ + public function getMountsFromProvider(IUser $user, string $mountProviderClass); + + /** * Get the configured home mount for this user * * @param \OCP\IUser $user |