aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/streamer.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-06 11:47:43 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-06 11:47:43 +0200
commit319e61f0eabe02847c4dccdb9db86dc3181d7540 (patch)
tree2818ea74629585f5f77370c6397e57fa35211d4c /lib/private/streamer.php
parentd9ffb094793f8bfff2c4231e5bde65900f6224cd (diff)
parentbe46cd6737f7b4414d4583d0096d90b73929ce3d (diff)
downloadnextcloud-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.php12
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