Download src/Shared/Infrastructure/FileSystem/CdnInterface.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 517 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Shared/Infrastructure/FileSystem/CdnInterface.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Shared/Infrastructure/FileSystem/CdnInterface.php
-
curl -L -o CdnInterface.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Shared/Infrastructure/FileSystem/CdnInterface.php
517 Bytes
| declare(strict_types=1); | |
| namespace Shared\Infrastructure\FileSystem; | |
| interface CdnInterface extends FileSystemInterface | |
| { | |
| /** | |
| * Resolve file path at the public domain | |
| * | |
| * @param string $path Path (object key) of the file relative to the | |
| * file system's base domain | |
| * @return string|null | |
| */ | |
| public function getUrl(string $path): ?string; | |
| /** | |
| * Get the adapter lookup key | |
| * | |
| * @return string | |
| */ | |
| public function getAdapterLookupKey(): string; | |
| } | |