diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-26 21:14:59 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-26 21:14:59 +0100 |
commit | 232518ac548a1d8f99c51fe391eb6132c1154dba (patch) | |
tree | dcf369f169b600028bdb2d55d577fc7ffe781b32 /lib/private/files/fileinfo.php | |
parent | 0cb133003ced4e3d2486b6301459ea0e998ef2ec (diff) | |
parent | ff9c85ce60aac1098c741b7ea630d9fc545e3d96 (diff) | |
download | nextcloud-server-232518ac548a1d8f99c51fe391eb6132c1154dba.tar.gz nextcloud-server-232518ac548a1d8f99c51fe391eb6132c1154dba.zip |
Merge pull request #15234 from owncloud/encryption2_core
core part of encryption 2.0
Diffstat (limited to 'lib/private/files/fileinfo.php')
-rw-r--r-- | lib/private/files/fileinfo.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/files/fileinfo.php b/lib/private/files/fileinfo.php index 82c8f3de690..03aad56e103 100644 --- a/lib/private/files/fileinfo.php +++ b/lib/private/files/fileinfo.php @@ -170,6 +170,13 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess { /** * @return int */ + public function getUnencryptedSize() { + return isset($this->data['unencrypted_size']) ? $this->data['unencrypted_size'] : 0; + } + + /** + * @return int + */ public function getPermissions() { return $this->data['permissions']; } |