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

Breadcrumb

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

function DvcsDownloaderInterface::getUnpushedChanges

Checks for unpushed changes to a current branch

Parameters

PackageInterface $package package instance:

string $path package directory:

Return value

string|null changes or null

1 method overrides DvcsDownloaderInterface::getUnpushedChanges()
GitDownloader::getUnpushedChanges in vendor/composer/composer/src/Composer/Downloader/GitDownloader.php
Checks for unpushed changes to a current branch

File

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

Class

DvcsDownloaderInterface
DVCS Downloader interface.

Namespace

Composer\Downloader

Code

public function getUnpushedChanges(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