diff options
author | Robin Appelman <robin@icewind.nl> | 2019-10-25 19:21:57 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2019-11-13 13:30:44 +0300 |
commit | 842da3f18364c50ca907f4ac984ded1ecafd35fe (patch) | |
tree | 43b50bb78eab7f9b8cec9fbd008874a844ad62e1 /lib/public | |
parent | d3b6dbc0bc1aa2c81ca5e526d597ddbfca762cdf (diff) |
store filecache extension fields
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public')
-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; } |