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

Breadcrumb

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

function SvnDriver::buildIdentifier

Build the identifier respecting "package-path" config option

Parameters

string $baseDir The path to trunk/branch/tag:

int $revision The revision mark to add to identifier:

2 calls to SvnDriver::buildIdentifier()
SvnDriver::getBranches in vendor/composer/composer/src/Composer/Repository/Vcs/SvnDriver.php
@inheritDoc
SvnDriver::getTags in vendor/composer/composer/src/Composer/Repository/Vcs/SvnDriver.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Repository/Vcs/SvnDriver.php, line 405

Class

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

Namespace

Composer\Repository\Vcs

Code

protected function buildIdentifier(string $baseDir, int $revision) : string {
    return rtrim($baseDir, '/') . $this->packagePath . '/@' . $revision;
}
RSS feed
Powered by Drupal