summaryrefslogtreecommitdiffstats
path: root/lib/public/Files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-10-25 18:21:57 +0200
committerRobin Appelman <robin@icewind.nl>2019-11-13 11:30:44 +0100
commit842da3f18364c50ca907f4ac984ded1ecafd35fe (patch)
tree43b50bb78eab7f9b8cec9fbd008874a844ad62e1 /lib/public/Files
parentd3b6dbc0bc1aa2c81ca5e526d597ddbfca762cdf (diff)
downloadnextcloud-server-842da3f18364c50ca907f4ac984ded1ecafd35fe.tar.gz
nextcloud-server-842da3f18364c50ca907f4ac984ded1ecafd35fe.zip
store filecache extension fields
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/Files')
-rw-r--r--lib/public/Files/Cache/ICacheEntry.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/public/Files/Cache/ICacheEntry.php b/lib/public/Files/Cache/ICacheEntry.php
index bbc9982935e..5223720b006 100644
--- a/lib/public/Files/Cache/ICacheEntry.php
+++ b/lib/public/Files/Cache/ICacheEntry.php
@@ -132,4 +132,28 @@ interface ICacheEntry {
* @since 9.0.0
*/
public function isEncrypted();
+
+ /**
+ * Get the metadata etag for the file
+ *
+ * @return string | null
+ * @since 18.0.0
+ */
+ public function getMetadataEtag(): ?string;
+
+ /**
+ * Get the last modified date as unix timestamp
+ *
+ * @return int | null
+ * @since 18.0.0
+ */
+ public function getCreationTime(): ?int;
+
+ /**
+ * Get the last modified date as unix timestamp
+ *
+ * @return int | null
+ * @since 18.0.0
+ */
+ public function getUploadTime(): ?int;
}