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

Breadcrumb

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

function Svn::executeLocal

Execute an SVN local command and try to fix up the process with credentials if necessary.

Parameters

non-empty-list<string> $command SVN command to run:

string $path Path argument passed thru to the command:

string $cwd Working directory:

bool $verbose Output all output to the user:

Throws

\RuntimeException

File

vendor/composer/composer/src/Composer/Util/Svn.php, line 120

Class

Svn
@author Till Klampaeckel <till@php.net> @author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Util

Code

public function executeLocal(array $command, string $path, ?string $cwd = null, bool $verbose = false) : string {
    // A local command has no remote url
    return $this->executeWithAuthRetry($command, $cwd, '', $path, $verbose);
}

API Navigation

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