diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-06 11:47:43 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-06 11:47:43 +0200 |
commit | 319e61f0eabe02847c4dccdb9db86dc3181d7540 (patch) | |
tree | 2818ea74629585f5f77370c6397e57fa35211d4c /lib/private/streamer.php | |
parent | d9ffb094793f8bfff2c4231e5bde65900f6224cd (diff) | |
parent | be46cd6737f7b4414d4583d0096d90b73929ce3d (diff) | |
download | nextcloud-server-319e61f0eabe02847c4dccdb9db86dc3181d7540.tar.gz nextcloud-server-319e61f0eabe02847c4dccdb9db86dc3181d7540.zip |
Merge pull request #19407 from owncloud/lock-zip-content
Lock zip content
Diffstat (limited to 'lib/private/streamer.php')
-rw-r--r-- | lib/private/streamer.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/streamer.php b/lib/private/streamer.php index 383183f8119..6db6fe42a79 100644 --- a/lib/private/streamer.php +++ b/lib/private/streamer.php @@ -90,9 +90,9 @@ class Streamer { /** * Add a file to the archive at the specified location and file name. * - * @param string $stream Stream to read data from - * @param string $internalName Filepath and name to be used in the archive. - * @param int $size Filesize + * @param string $stream Stream to read data from + * @param string $internalName Filepath and name to be used in the archive. + * @param int $size Filesize * @return bool $success */ public function addFileFromStream($stream, $internalName, $size){ @@ -102,17 +102,17 @@ class Streamer { return $this->streamerInstance->addFileFromStream($stream, $internalName, $size); } } - + /** * Add an empty directory entry to the archive. * - * @param string $directoryPath Directory Path and name to be added to the archive. + * @param string $dirName Directory Path and name to be added to the archive. * @return bool $success */ public function addEmptyDir($dirName){ return $this->streamerInstance->addEmptyDir($dirName); } - + /** * Close the archive. * A closed archive can no longer have new files added to it. After |