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

Breadcrumb

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

function HgDownloader::hasMetadataRepository

@inheritDoc

Overrides VcsDownloader::hasMetadataRepository

1 call to HgDownloader::hasMetadataRepository()
HgDownloader::doUpdate in vendor/composer/composer/src/Composer/Downloader/HgDownloader.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Downloader/HgDownloader.php, line 118

Class

HgDownloader
@author Per Bernhardt <plb@webfactory.de>

Namespace

Composer\Downloader

Code

protected function hasMetadataRepository(string $path) : bool {
    return is_dir($path . '/.hg');
}

API Navigation

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