diff options
Diffstat (limited to 'lib/public/files/config/iusermountcache.php')
-rw-r--r-- | lib/public/files/config/iusermountcache.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/public/files/config/iusermountcache.php b/lib/public/files/config/iusermountcache.php index f722ad16310..77f58cd8670 100644 --- a/lib/public/files/config/iusermountcache.php +++ b/lib/public/files/config/iusermountcache.php @@ -40,6 +40,8 @@ interface IUserMountCache { public function registerMounts(IUser $user, array $mounts); /** + * Get all cached mounts for a user + * * @param IUser $user * @return ICachedMountInfo[] * @since 9.0.0 @@ -47,6 +49,8 @@ interface IUserMountCache { public function getMountsForUser(IUser $user); /** + * Get all cached mounts by storage + * * @param int $numericStorageId * @return ICachedMountInfo[] * @since 9.0.0 @@ -54,6 +58,8 @@ interface IUserMountCache { public function getMountsForStorageId($numericStorageId); /** + * Get all cached mounts by root + * * @param int $rootFileId * @return ICachedMountInfo[] * @since 9.0.0 @@ -61,6 +67,15 @@ interface IUserMountCache { public function getMountsForRootId($rootFileId); /** + * Get all cached mounts that contain a file + * + * @param int $fileId + * @return ICachedMountInfo[] + * @since 9.0.0 + */ + public function getMountsForFileId($fileId); + + /** * Remove all cached mounts for a user * * @param IUser $user |