X7ROOT File Manager
Current Path:
/opt/cpanel/ea-wappspector/vendor/league/flysystem/src
opt
/
cpanel
/
ea-wappspector
/
vendor
/
league
/
flysystem
/
src
/
??
..
??
CalculateChecksumFromStream.php
(793 B)
??
ChecksumAlgoIsNotSupported.php
(169 B)
??
ChecksumProvider.php
(291 B)
??
Config.php
(1.39 KB)
??
CorruptedPathDetected.php
(316 B)
??
DecoratedAdapter.php
(2.36 KB)
??
DirectoryAttributes.php
(2.02 KB)
??
DirectoryListing.php
(2.03 KB)
??
FileAttributes.php
(2.5 KB)
??
Filesystem.php
(9.62 KB)
??
FilesystemAdapter.php
(2.72 KB)
??
FilesystemException.php
(130 B)
??
FilesystemOperationFailed.php
(954 B)
??
FilesystemOperator.php
(138 B)
??
FilesystemReader.php
(2.12 KB)
??
FilesystemWriter.php
(1.41 KB)
??
InvalidStreamProvided.php
(225 B)
??
InvalidVisibilityProvided.php
(553 B)
??
MountManager.php
(15 KB)
??
PathNormalizer.php
(148 B)
??
PathPrefixer.php
(1.13 KB)
??
PathTraversalDetected.php
(482 B)
??
PortableVisibilityGuard.php
(511 B)
??
ProxyArrayAccessToProperties.php
(1.2 KB)
??
ResolveIdenticalPathConflict.php
(198 B)
??
StorageAttributes.php
(1.01 KB)
??
SymbolicLinkEncountered.php
(531 B)
??
UnableToCheckDirectoryExistence.php
(257 B)
??
UnableToCheckExistence.php
(678 B)
??
UnableToCheckFileExistence.php
(247 B)
??
UnableToCopyFile.php
(1.49 KB)
??
UnableToCreateDirectory.php
(1.33 KB)
??
UnableToDeleteDirectory.php
(974 B)
??
UnableToDeleteFile.php
(923 B)
??
UnableToGeneratePublicUrl.php
(754 B)
??
UnableToGenerateTemporaryUrl.php
(760 B)
??
UnableToListContents.php
(650 B)
??
UnableToMountFilesystem.php
(915 B)
??
UnableToMoveFile.php
(1.6 KB)
??
UnableToProvideChecksum.php
(387 B)
??
UnableToReadFile.php
(925 B)
??
UnableToResolveFilesystemMount.php
(723 B)
??
UnableToRetrieveMetadata.php
(1.98 KB)
??
UnableToSetVisibility.php
(982 B)
??
UnableToWriteFile.php
(920 B)
??
UnixVisibility
??
UnreadableFileEncountered.php
(556 B)
??
UrlGeneration
??
Visibility.php
(163 B)
??
WhitespacePathNormalizer.php
(1.13 KB)
Editing: UnableToRetrieveMetadata.php
<?php declare(strict_types=1); namespace League\Flysystem; use RuntimeException; use Throwable; final class UnableToRetrieveMetadata extends RuntimeException implements FilesystemOperationFailed { /** * @var string */ private $location; /** * @var string */ private $metadataType; /** * @var string */ private $reason; public static function lastModified(string $location, string $reason = '', ?Throwable $previous = null): self { return static::create($location, FileAttributes::ATTRIBUTE_LAST_MODIFIED, $reason, $previous); } public static function visibility(string $location, string $reason = '', ?Throwable $previous = null): self { return static::create($location, FileAttributes::ATTRIBUTE_VISIBILITY, $reason, $previous); } public static function fileSize(string $location, string $reason = '', ?Throwable $previous = null): self { return static::create($location, FileAttributes::ATTRIBUTE_FILE_SIZE, $reason, $previous); } public static function mimeType(string $location, string $reason = '', ?Throwable $previous = null): self { return static::create($location, FileAttributes::ATTRIBUTE_MIME_TYPE, $reason, $previous); } public static function create(string $location, string $type, string $reason = '', ?Throwable $previous = null): self { $e = new static("Unable to retrieve the $type for file at location: $location. {$reason}", 0, $previous); $e->reason = $reason; $e->location = $location; $e->metadataType = $type; return $e; } public function reason(): string { return $this->reason; } public function location(): string { return $this->location; } public function metadataType(): string { return $this->metadataType; } public function operation(): string { return FilesystemOperationFailed::OPERATION_RETRIEVE_METADATA; } }
Upload File
Create Folder