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/private/files/node/file.php | |
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/private/files/node/file.php')
-rw-r--r-- | lib/private/files/node/file.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/files/node/file.php b/lib/private/files/node/file.php index c3d18cdb358..cf163b9b763 100644 --- a/lib/private/files/node/file.php +++ b/lib/private/files/node/file.php @@ -164,4 +164,11 @@ class File extends Node implements \OCP\Files\File { public function hash($type, $raw = false) { return $this->view->hash($type, $this->path, $raw); } + + /** + * @inheritdoc + */ + public function getChecksum() { + return $this->fileInfo->getChecksum(); + } } |