summaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Config/IUserMountCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files/Config/IUserMountCache.php')
-rw-r--r--lib/public/Files/Config/IUserMountCache.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/public/Files/Config/IUserMountCache.php b/lib/public/Files/Config/IUserMountCache.php
index cf30d8fb431..e1db1cbf98b 100644
--- a/lib/public/Files/Config/IUserMountCache.php
+++ b/lib/public/Files/Config/IUserMountCache.php
@@ -104,4 +104,15 @@ interface IUserMountCache {
* @since 9.0.0
*/
public function remoteStorageMounts($storageId);
+
+ /**
+ * Get the used space for users
+ *
+ * Note that this only includes the space in their home directory,
+ * not any incoming shares or external storages.
+ *
+ * @param IUser[] $users
+ * @return int[] [$userId => $userSpace]
+ */
+ public function getUsedSpaceForUsers(array $users);
}