You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
666 B
28 lines
666 B
<?php
|
|
|
|
namespace Duplicator\Libs\DupArchive\Info;
|
|
|
|
class DupArchiveExpanderInfo
|
|
{
|
|
public $archiveHandle = null;
|
|
public $currentFileHeader = null;
|
|
public $destDirectory = null;
|
|
public $directoryWriteCount = 0;
|
|
public $fileWriteCount = 0;
|
|
public $isCompressed = false;
|
|
public $enableWrite = false;
|
|
|
|
/**
|
|
* Get dest path
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getCurrentDestFilePath()
|
|
{
|
|
if ($this->destDirectory != null) {
|
|
return "{$this->destDirectory}/{$this->currentFileHeader->relativePath}";
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
|