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

Breadcrumb

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

function SvnDownloader::getLocalChanges

@inheritDoc

Overrides ChangeReportInterface::getLocalChanges

1 call to SvnDownloader::getLocalChanges()
SvnDownloader::cleanChanges in vendor/composer/composer/src/Composer/Downloader/SvnDownloader.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Downloader/SvnDownloader.php, line 94

Class

SvnDownloader
@author Ben Bieker <mail@ben-bieker.de> @author Till Klampaeckel <till@php.net>

Namespace

Composer\Downloader

Code

public function getLocalChanges(PackageInterface $package, string $path) : ?string {
    if (!$this->hasMetadataRepository($path)) {
        return null;
    }
    $this->process
        ->execute([
        'svn',
        'status',
        '--ignore-externals',
    ], $output, $path);
    return Preg::isMatch('{^ *[^X ] +}m', $output) ? $output : null;
}

API Navigation

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