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

Breadcrumb

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

function Svn::hasAuth

Detect Svn Auth.

2 calls to Svn::hasAuth()
Svn::executeWithAuthRetry in vendor/composer/composer/src/Composer/Util/Svn.php
Svn::getCredentialArgs in vendor/composer/composer/src/Composer/Util/Svn.php
Return the credential string for the svn command.

File

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

Class

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

Namespace

Composer\Util

Code

protected function hasAuth() : bool {
    if (null !== $this->hasAuth) {
        return $this->hasAuth;
    }
    if (false === $this->createAuthFromConfig()) {
        $this->createAuthFromUrl();
    }
    return (bool) $this->hasAuth;
}

API Navigation

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