aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/ObjectStore/IObjectStore.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files/ObjectStore/IObjectStore.php')
-rw-r--r--lib/public/Files/ObjectStore/IObjectStore.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/Files/ObjectStore/IObjectStore.php b/lib/public/Files/ObjectStore/IObjectStore.php
index a202ef7c0c2..c51cdf1426a 100644
--- a/lib/public/Files/ObjectStore/IObjectStore.php
+++ b/lib/public/Files/ObjectStore/IObjectStore.php
@@ -80,4 +80,18 @@ interface IObjectStore {
* @since 21.0.0
*/
public function copyObject($from, $to);
+
+ /**
+ * Returns the number of bytes used in the object store
+ *
+ * @since 26.0.0
+ */
+ public function bytesUsed(): int;
+
+ /**
+ * Returns the eventual quota of the object store, in bytes
+ *
+ * @since 26.0.0
+ */
+ public function bytesQuota(): int;
}