@@ -34,11 +34,4 @@ class GitDownloader implements DownloaderInterface
system('git archive --format=tar --prefix='.escapeshellarg($package->getName()).' --remote='.escapeshellarg($url).' master | tar -xf -');
}
-
- public function isDownloaded(PackageInterface $package, $path)
- {
- $targetPath = $path . '/' . $package->getName();
- return is_dir($targetPath);
- }
@@ -66,11 +66,4 @@ class PearDownloader implements DownloaderInterface
chdir($cwd);
@@ -73,11 +73,4 @@ class ZipDownloader implements DownloaderInterface
throw new \UnexpectedValueException($zipName.' is not a valid zip archive, got error code '.$retval);