diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-07-13 16:29:51 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-07-13 16:34:08 +0200 |
commit | 29eeeb2273782b72219c603e084a1d459514c361 (patch) | |
tree | 29ca6e4c3ab0b987ceebb0106df04b30feeee48b /lib/public/Files | |
parent | afef11f84aef91178d5bb566d6e726f969fd69d9 (diff) | |
download | nextcloud-server-29eeeb2273782b72219c603e084a1d459514c361.tar.gz nextcloud-server-29eeeb2273782b72219c603e084a1d459514c361.zip |
Save the files external mount id in the mount cache table
Diffstat (limited to 'lib/public/Files')
-rw-r--r-- | lib/public/Files/Config/ICachedMountInfo.php | 8 | ||||
-rw-r--r-- | lib/public/Files/Mount/IMountPoint.php | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/lib/public/Files/Config/ICachedMountInfo.php b/lib/public/Files/Config/ICachedMountInfo.php index e09c1a7f014..24c09654212 100644 --- a/lib/public/Files/Config/ICachedMountInfo.php +++ b/lib/public/Files/Config/ICachedMountInfo.php @@ -59,4 +59,12 @@ interface ICachedMountInfo { * @since 9.0.0 */ public function getMountPoint(); + + /** + * Get the id of the configured mount + * + * @return int|null mount id or null if not applicable + * @since 9.1.0 + */ + public function getMountId(); } diff --git a/lib/public/Files/Mount/IMountPoint.php b/lib/public/Files/Mount/IMountPoint.php index bc7bf81709f..824b60a1024 100644 --- a/lib/public/Files/Mount/IMountPoint.php +++ b/lib/public/Files/Mount/IMountPoint.php @@ -102,4 +102,12 @@ interface IMountPoint { * @since 9.1.0 */ public function getStorageRootId(); + + /** + * Get the id of the configured mount + * + * @return int|null mount id or null if not applicable + * @since 9.1.0 + */ + public function getMountId(); } |