summaryrefslogtreecommitdiffstats
path: root/lib/private/files/node/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/node/file.php')
-rw-r--r--lib/private/files/node/file.php7
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();
+ }
}