diff options
author | Robin Appelman <robin@icewind.nl> | 2019-10-25 18:21:57 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2019-11-13 11:30:44 +0100 |
commit | 842da3f18364c50ca907f4ac984ded1ecafd35fe (patch) | |
tree | 43b50bb78eab7f9b8cec9fbd008874a844ad62e1 /lib/public/Files | |
parent | d3b6dbc0bc1aa2c81ca5e526d597ddbfca762cdf (diff) | |
download | nextcloud-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.php | 24 |
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; } |