diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-08 16:10:31 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-08 16:10:31 +0100 |
commit | ec399e6bbc5a16519433e11869e444fd7b198a25 (patch) | |
tree | c9b724fb1059a40eb1768e3a6016440518410620 /lib/public | |
parent | 33eed35ae439d6140d608987a2e94190fe26b3fa (diff) | |
parent | 1e8e00c541726418361be9bd28bf784ac5a90657 (diff) | |
download | nextcloud-server-ec399e6bbc5a16519433e11869e444fd7b198a25.tar.gz nextcloud-server-ec399e6bbc5a16519433e11869e444fd7b198a25.zip |
Merge pull request #22200 from owncloud/node-checksum-resolvefileinfo
Make sure fileinfo exists when calling getCheckSum in node API
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/files/file.php | 10 |
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(); } |