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\UtilCode
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);
}