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

Breadcrumb

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

function FossilDownloader::getLocalChanges

@inheritDoc

Overrides ChangeReportInterface::getLocalChanges

File

vendor/composer/composer/src/Composer/Downloader/FossilDownloader.php, line 78

Class

FossilDownloader
@author BohwaZ <http://bohwaz.net/&gt;

Namespace

Composer\Downloader

Code

public function getLocalChanges(PackageInterface $package, string $path) : ?string {
    if (!$this->hasMetadataRepository($path)) {
        return null;
    }
    $this->process
        ->execute([
        'fossil',
        'changes',
    ], $output, Platform::realpath($path));
    $output = trim($output);
    return strlen($output) > 0 ? $output : null;
}

API Navigation

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