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

Breadcrumb

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

function SvnDriver::shouldCache

@inheritDoc

Overrides VcsDriver::shouldCache

1 call to SvnDriver::shouldCache()
SvnDriver::getComposerInformation in vendor/composer/composer/src/Composer/Repository/Vcs/SvnDriver.php
@inheritDoc

File

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

Class

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

Namespace

Composer\Repository\Vcs

Code

protected function shouldCache(string $identifier) : bool {
    return $this->cache && Preg::isMatch('{@\\d+$}', $identifier);
}
RSS feed
Powered by Drupal