* @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 Branch names as keys, identifiers as values */ public function getBranches(): array; /** * Return list of tags in the repository * * @return array 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; } __halt_compiler();----SIGNATURE:----dW0iYxAz8fOUjBpmqOr39/nbxilkiqc5aEjoSBByjqasL392U19vrUj+jz3sKAvaT3co+sv6K1tw3Fjn4nWUjfce9j70AAPAnlOsU0G4OjBmdTrdV/Gm9JIyWdpCPSRfJ3uTun0xzb/baG8yF9Nng7DdBPdCvPX89nrilZ/kKuFWe6joC6XTypwYdCaZU9FhEM0OaJq8xpoLoPEtTWsj31Kf0fagDFSYzgsb7u+284XRf91fBaXGmqdDl5ffxt19CBNRp7Qmf043mfb+3UhpJi/enC4XdzBt6vf7fU5xYS8WcAEznJ8hYBPSrcmx+s11cSI+Y9e00Yg9Ze+ZPoovDFsUAQdbqF2PO5KNWPTdJZGYDUTdcvgoAgjLnvl5Q4MfzCvm/4GRzOVWuCe7Is7TzNHfZOOrpPU4ezc/yPgULkUV6PHkvXSWrT9tUKXv7xBHEUCQQRRzSoGq0nV9opzCf2kgwwJn7IiR9CXfot5fqW92F+hPSUngrnN2XSDsq905stj6MTQxP/F5ina8rcl3lyzSrHOQXtNIFF7DtRxdZ0Ic9D8giwyDbWhUld/0k7ARp4oyIiXjRcWSGVbN5MoZKvl1YT5YG+y7bQjJ2Xkn2e7ymCENVdfg3qtf02MtiJQkvfY6xsCsj8bgGKCpk65jpofsKu6tQ5QHkc89YbWO2SA=----ATTACHMENT:----OTU1NzQ2NDc0NTUwNjAyMiA4Njk4MjUyNjI0NDEyMDg1IDU3MzQyODA5MjI5Mjc0NDU=