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

Breadcrumb

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

interface DvcsDownloaderInterface

DVCS Downloader interface.

@author James Titcumb <james@asgrim.com>

Hierarchy

  • interface \Composer\Downloader\DvcsDownloaderInterface

Expanded class hierarchy of DvcsDownloaderInterface

All classes that implement DvcsDownloaderInterface

1 file declares its use of DvcsDownloaderInterface
StatusCommand.php in vendor/composer/composer/src/Composer/Command/StatusCommand.php

File

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

Namespace

Composer\Downloader
View source
interface DvcsDownloaderInterface {
    
    /**
     * Checks for unpushed changes to a current branch
     *
     * @param  PackageInterface $package package instance
     * @param  string           $path    package directory
     * @return string|null      changes or null
     */
    public function getUnpushedChanges(PackageInterface $package, string $path) : ?string;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
DvcsDownloaderInterface::getUnpushedChanges public function Checks for unpushed changes to a current branch 1

API Navigation

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