5 * Contains Drupal\Console\Zippy\Adapter\TarGzGNUTarForWindowsAdapter.
8 namespace Drupal\Console\Zippy\Adapter;
10 use Alchemy\Zippy\Adapter\GNUTar\TarGzGNUTarAdapter;
11 use Alchemy\Zippy\Adapter\Resource\ResourceInterface;
12 use Alchemy\Zippy\Exception\NotSupportedException;
15 * Class TarGzGNUTarForWindowsAdapter
17 * @package Drupal\Console\Zippy\Adapter
19 class TarGzGNUTarForWindowsAdapter extends TarGzGNUTarAdapter
24 protected function doAdd(ResourceInterface $resource, $files, $recursive)
26 throw new NotSupportedException('Updating a compressed tar archive is not supported.');
32 protected function getLocalOptions()
34 return array_merge(parent::getLocalOptions(), ['--force-local']);