summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-02-08 14:44:26 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-02-08 14:44:26 +0100
commit1e8e00c541726418361be9bd28bf784ac5a90657 (patch)
tree95e59f4152d315b45fe585f4bd133680a50a6c97 /lib/public
parent41ba9280f7c73f608a0d74d60dba64821dcb32db (diff)
downloadnextcloud-server-1e8e00c541726418361be9bd28bf784ac5a90657.tar.gz
nextcloud-server-1e8e00c541726418361be9bd28bf784ac5a90657.zip
Add proper throw tags to File
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/files/file.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/files/file.php b/lib/public/files/file.php
index 3acf24b9277..1550f92682b 100644
--- a/lib/public/files/file.php
+++ b/lib/public/files/file.php
@@ -84,4 +84,14 @@ interface File extends Node {
* @since 6.0.0
*/
public function hash($type, $raw = false);
+
+ /**
+ * Get the stored checksum for this file
+ *
+ * @return string
+ * @since 9.0.0
+ * @throws InvalidPathException
+ * @throws NotFoundException
+ */
+ public function getChecksum();
}