aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-04-13 16:05:45 +0200
committerRobin Appelman <robin@icewind.nl>2022-06-02 16:07:00 +0200
commit8238582e59b7b6ec03318bcf81bf47cce54af320 (patch)
treeec45259377aeed1088baa9f5ad8c7891eb489af7 /lib/public/Files
parent2a68819a67045d87a369a8a6413f153b3b2bea5f (diff)
downloadnextcloud-server-8238582e59b7b6ec03318bcf81bf47cce54af320.tar.gz
nextcloud-server-8238582e59b7b6ec03318bcf81bf47cce54af320.zip
store unencrypted size in the unencrypted_size column
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/Files')
-rw-r--r--lib/public/Files/Cache/ICacheEntry.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Files/Cache/ICacheEntry.php b/lib/public/Files/Cache/ICacheEntry.php
index 17eecf89ddb..e1e8129394c 100644
--- a/lib/public/Files/Cache/ICacheEntry.php
+++ b/lib/public/Files/Cache/ICacheEntry.php
@@ -162,4 +162,14 @@ interface ICacheEntry extends ArrayAccess {
* @since 18.0.0
*/
public function getUploadTime(): ?int;
+
+ /**
+ * Get the unencrypted size
+ *
+ * This might be different from the result of getSize
+ *
+ * @return int
+ * @since 25.0.0
+ */
+ public function getUnencryptedSize(): int;
}