aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/ObjectStore/StorageObjectStore.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/ObjectStore/StorageObjectStore.php')
-rw-r--r--lib/private/Files/ObjectStore/StorageObjectStore.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/Files/ObjectStore/StorageObjectStore.php b/lib/private/Files/ObjectStore/StorageObjectStore.php
index 85926be897e..260238c106c 100644
--- a/lib/private/Files/ObjectStore/StorageObjectStore.php
+++ b/lib/private/Files/ObjectStore/StorageObjectStore.php
@@ -23,6 +23,7 @@
*/
namespace OC\Files\ObjectStore;
+use OCP\Files\FileInfo;
use OCP\Files\ObjectStore\IObjectStore;
use OCP\Files\Storage\IStorage;
use function is_resource;
@@ -91,4 +92,12 @@ class StorageObjectStore implements IObjectStore {
public function copyObject($from, $to) {
$this->storage->copy($from, $to);
}
+
+ public function bytesUsed(): int {
+ return FileInfo::SPACE_UNKNOWN;
+ }
+
+ public function bytesQuota(): int {
+ return FileInfo::SPACE_UNLIMITED;
+ }
}