/var/www/vhosts/ihelp.ro/httpdocs/vendor/composer/composer/src/Composer/Downloader
NameSizeModeActions
ArchiveDownloader.php87070644editdlrm
ChangeReportInterface.php8070644editdlrm
DownloaderInterface.php42610644editdlrm
DownloadManager.php159250644editdlrm
DvcsDownloaderInterface.php8230644editdlrm
FileDownloader.php199920644editdlrm
FilesystemException.php7090644editdlrm
FossilDownloader.php45570644editdlrm
GitDownloader.php255140644editdlrm
GzipDownloader.php22130644editdlrm
HgDownloader.php37770644editdlrm
MaxFileSizeExceededException.php3920644editdlrm
PathDownloader.php130070644editdlrm
PerforceDownloader.php34400644editdlrm
PharDownloader.php11410644editdlrm
RarDownloader.php25730644editdlrm
SvnDownloader.php91330644editdlrm
TarDownloader.php9010644editdlrm
TransportException.php17650644editdlrm
VcsCapableDownloaderInterface.php8360644editdlrm
VcsDownloader.php131540644editdlrm
XzDownloader.php11230644editdlrm
ZipDownloader.php132630644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/composer/composer/src/Composer/Downloader/XzDownloader.php (1123B)
* Jordi Boggiano * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Downloader; use React\Promise\PromiseInterface; use Composer\Package\PackageInterface; use Composer\Util\ProcessExecutor; /** * Xz archive downloader. * * @author Pavel Puchkin * @author Pierre Rudloff */ class XzDownloader extends ArchiveDownloader { protected function extract(PackageInterface $package, string $file, string $path): PromiseInterface { $command = 'tar -xJf ' . ProcessExecutor::escape($file) . ' -C ' . ProcessExecutor::escape($path); if (0 === $this->process->execute($command, $ignoredOutput)) { return \React\Promise\resolve(null); } $processError = 'Failed to execute ' . $command . "\n\n" . $this->process->getErrorOutput(); throw new \RuntimeException($processError); } }