Sha256: 1d4624cec728c813a9099d94f80df9af520d01e8f66db5973aea1d77657904f9
Contents?: true
Size: 697 Bytes
Versions: 42
Compression:
Stored size: 697 Bytes
Contents
<?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Downloader; /** * Downloader for tar files: tar, tar.gz or tar.bz2 * * @author Kirill chEbba Chebunin <iam@chebba.org> */ class TarDownloader extends ArchiveDownloader { /** * {@inheritDoc} */ protected function extract($file, $path) { // Can throw an UnexpectedValueException $archive = new \PharData($file); $archive->extractTo($path, null, true); } }
Version data entries
42 entries across 42 versions & 1 rubygems