From 842da3f18364c50ca907f4ac984ded1ecafd35fe Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 25 Oct 2019 18:21:57 +0200 Subject: store filecache extension fields Signed-off-by: Robin Appelman --- lib/public/Files/Cache/ICacheEntry.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'lib/public/Files') 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; } -- cgit v1.2.3