summaryrefslogtreecommitdiffstats
path: root/lib/private/archive/tar.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/archive/tar.php')
-rw-r--r--lib/private/archive/tar.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/archive/tar.php b/lib/private/archive/tar.php
index 5538e027ab4..cbdb565ba35 100644
--- a/lib/private/archive/tar.php
+++ b/lib/private/archive/tar.php
@@ -22,6 +22,9 @@ class OC_Archive_TAR extends OC_Archive{
private $tar=null;
private $path;
+ /**
+ * @param string $source
+ */
function __construct($source) {
$types=array(null, 'gz', 'bz');
$this->path=$source;
@@ -122,6 +125,9 @@ class OC_Archive_TAR extends OC_Archive{
return true;
}
+ /**
+ * @param string $file
+ */
private function getHeader($file) {
if ( ! $this->cachedHeaders ) {
$this->cachedHeaders = $this->tar->listContent();