diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-29 21:50:48 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-03 09:03:51 +0100 |
commit | 2035a179bc319cf3f339e90e14dc01c7a980bc78 (patch) | |
tree | 7be503fb1cbe5e0ceabf33ee1ed417e874f417d8 /lib/public/files | |
parent | 77942ad38afb982c3b7efa841a9bb0b46a0c039a (diff) | |
download | nextcloud-server-2035a179bc319cf3f339e90e14dc01c7a980bc78.tar.gz nextcloud-server-2035a179bc319cf3f339e90e14dc01c7a980bc78.zip |
Add store/retrieve checksums
* Add extra db column to filecache
* Bump version
* Update filecache code to actually handle checksum
* Webdav code to store/retrieve checksums
Diffstat (limited to 'lib/public/files')
-rw-r--r-- | lib/public/files/fileinfo.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/files/fileinfo.php b/lib/public/files/fileinfo.php index 77e37d53ab9..aa4aa605d32 100644 --- a/lib/public/files/fileinfo.php +++ b/lib/public/files/fileinfo.php @@ -237,4 +237,12 @@ interface FileInfo { * @since 9.0.0 */ public function getOwner(); + + /** + * Get the stored checksum for this file + * + * @return string + * @since 9.0.0 + */ + public function getChecksum(); } |