aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files/node
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-03 11:36:22 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-03 11:36:22 +0100
commit621f54da514af548bf900f7a1c64af046f53b86d (patch)
treeaa579de57fa0f623461ff6e03c7eddbae1db0aa8 /lib/private/files/node
parent459a12c8b375eb3fe65a8790710716d624ef1228 (diff)
parent2035a179bc319cf3f339e90e14dc01c7a980bc78 (diff)
downloadnextcloud-server-621f54da514af548bf900f7a1c64af046f53b86d.tar.gz
nextcloud-server-621f54da514af548bf900f7a1c64af046f53b86d.zip
Merge pull request #21997 from owncloud/checksums
Checksums
Diffstat (limited to 'lib/private/files/node')
-rw-r--r--lib/private/files/node/file.php7
-rw-r--r--lib/private/files/node/node.php4
2 files changed, 11 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();
+ }
}
diff --git a/lib/private/files/node/node.php b/lib/private/files/node/node.php
index 7769f15ee59..9feccac50bc 100644
--- a/lib/private/files/node/node.php
+++ b/lib/private/files/node/node.php
@@ -351,4 +351,8 @@ class Node implements \OCP\Files\Node {
public function getOwner() {
return $this->getFileInfo()->getOwner();
}
+
+ public function getChecksum() {
+ return;
+ }
}