diff options
Diffstat (limited to 'lib/private/files/node')
-rw-r--r-- | lib/private/files/node/file.php | 7 | ||||
-rw-r--r-- | lib/private/files/node/node.php | 4 |
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; + } } |