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

Breadcrumb

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

function ChangeReportInterface::getLocalChanges

Checks for changes to the local copy

Parameters

PackageInterface $package package instance:

string $path package directory:

Return value

string|null changes or null

1 call to ChangeReportInterface::getLocalChanges()
VcsDownloader::cleanChanges in vendor/composer/composer/src/Composer/Downloader/VcsDownloader.php
Prompt the user to check if changes should be stashed/removed or the operation aborted
6 methods override ChangeReportInterface::getLocalChanges()
FileDownloader::getLocalChanges in vendor/composer/composer/src/Composer/Downloader/FileDownloader.php
@inheritDoc
FossilDownloader::getLocalChanges in vendor/composer/composer/src/Composer/Downloader/FossilDownloader.php
@inheritDoc
GitDownloader::getLocalChanges in vendor/composer/composer/src/Composer/Downloader/GitDownloader.php
@inheritDoc
HgDownloader::getLocalChanges in vendor/composer/composer/src/Composer/Downloader/HgDownloader.php
@inheritDoc
PerforceDownloader::getLocalChanges in vendor/composer/composer/src/Composer/Downloader/PerforceDownloader.php
@inheritDoc

... See full list

File

vendor/composer/composer/src/Composer/Downloader/ChangeReportInterface.php, line 31

Class

ChangeReportInterface
ChangeReport interface.

Namespace

Composer\Downloader

Code

public function getLocalChanges(PackageInterface $package, string $path) : ?string;

API Navigation

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