Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SvnDownloader.php

function SvnDownloader::doDownload

@inheritDoc

Overrides VcsDownloader::doDownload

File

vendor/composer/composer/src/Composer/Downloader/SvnDownloader.php, line 34

Class

SvnDownloader
@author Ben Bieker <mail@ben-bieker.de> @author Till Klampaeckel <till@php.net>

Namespace

Composer\Downloader

Code

protected function doDownload(PackageInterface $package, string $path, string $url, ?PackageInterface $prevPackage = null) : PromiseInterface {
    SvnUtil::cleanEnv();
    $util = new SvnUtil($url, $this->io, $this->config, $this->process);
    if (null === $util->binaryVersion()) {
        throw new \RuntimeException('svn was not found in your PATH, skipping source download');
    }
    return \React\Promise\resolve(null);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal