aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files/fileinfo.php
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/fileinfo.php
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/fileinfo.php')
-rw-r--r--lib/private/files/fileinfo.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/files/fileinfo.php b/lib/private/files/fileinfo.php
index 1e6fe474f7b..f22e1099e26 100644
--- a/lib/private/files/fileinfo.php
+++ b/lib/private/files/fileinfo.php
@@ -327,4 +327,11 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
$this->childEtags[] = $relativeEntryPath . '/' . $data['etag'] . $permissions;
}
}
+
+ /**
+ * @inheritdoc
+ */
+ public function getChecksum() {
+ return $this->data['checksum'];
+ }
}