Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
Composer /
Repository /
Vcs /
Delete
Unzip
Name
Size
Permission
Date
Action
FossilDriver.php
7.61
KB
-rw-r--r--
2023-03-21 10:50
GitBitbucketDriver.php
15.75
KB
-rw-r--r--
2023-03-21 10:50
GitDriver.php
8.47
KB
-rw-r--r--
2023-03-21 10:50
GitHubDriver.php
21.63
KB
-rw-r--r--
2023-03-21 10:50
GitLabDriver.php
20.38
KB
-rw-r--r--
2023-03-21 10:50
HgDriver.php
7.44
KB
-rw-r--r--
2023-03-21 10:50
PerforceDriver.php
4.17
KB
-rw-r--r--
2023-03-21 10:50
SvnDriver.php
12.96
KB
-rw-r--r--
2023-03-21 10:50
VcsDriver.php
4.93
KB
-rw-r--r--
2023-03-21 10:50
VcsDriverInterface.php
3.26
KB
-rw-r--r--
2023-03-21 10:50
Save
Rename
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Repository\Vcs; use Composer\Config; use Composer\IO\IOInterface; /** * @author Jordi Boggiano <j.boggiano@seld.be> * @internal */ interface VcsDriverInterface { /** * Initializes the driver (git clone, svn checkout, fetch info etc) */ public function initialize(): void; /** * Return the composer.json file information * * @param string $identifier Any identifier to a specific branch/tag/commit * @return mixed[]|null Array containing all infos from the composer.json file, or null to denote that no file was present */ public function getComposerInformation(string $identifier): ?array; /** * Return the content of $file or null if the file does not exist. */ public function getFileContent(string $file, string $identifier): ?string; /** * Get the changedate for $identifier. */ public function getChangeDate(string $identifier): ?\DateTimeImmutable; /** * Return the root identifier (trunk, master, default/tip ..) * * @return string Identifier */ public function getRootIdentifier(): string; /** * Return list of branches in the repository * * @return array<int|string, string> Branch names as keys, identifiers as values */ public function getBranches(): array; /** * Return list of tags in the repository * * @return array<int|string, string> Tag names as keys, identifiers as values */ public function getTags(): array; /** * @param string $identifier Any identifier to a specific branch/tag/commit * * @return array{type: string, url: string, reference: string, shasum: string}|null */ public function getDist(string $identifier): ?array; /** * @param string $identifier Any identifier to a specific branch/tag/commit * * @return array{type: string, url: string, reference: string} */ public function getSource(string $identifier): array; /** * Return the URL of the repository */ public function getUrl(): string; /** * Return true if the repository has a composer file for a given identifier, * false otherwise. * * @param string $identifier Any identifier to a specific branch/tag/commit * @return bool Whether the repository has a composer file for a given identifier. */ public function hasComposerFile(string $identifier): bool; /** * Performs any cleanup necessary as the driver is not longer needed */ public function cleanup(): void; /** * Checks if this driver can handle a given url * * @param IOInterface $io IO instance * @param Config $config current $config * @param string $url URL to validate/check * @param bool $deep unless true, only shallow checks (url matching typically) should be done */ public static function supports(IOInterface $io, Config $config, string $url, bool $deep = false): bool; }