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

Breadcrumb

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

function FileDownloader::removeCleanupPath

1 call to FileDownloader::removeCleanupPath()
ArchiveDownloader::install in vendor/composer/composer/src/Composer/Downloader/ArchiveDownloader.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Downloader/FileDownloader.php, line 396

Class

FileDownloader
Base downloader for files

Namespace

Composer\Downloader

Code

protected function removeCleanupPath(PackageInterface $package, string $path) : void {
    if (isset($this->additionalCleanupPaths[$package->getName()])) {
        $idx = array_search($path, $this->additionalCleanupPaths[$package->getName()], true);
        if (false !== $idx) {
            unset($this->additionalCleanupPaths[$package->getName()][$idx]);
        }
    }
}

API Navigation

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