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: UnableToCreateDirectory.php
<?php declare(strict_types=1); namespace League\Flysystem; use RuntimeException; use Throwable; final class UnableToCreateDirectory extends RuntimeException implements FilesystemOperationFailed { private string $location; private string $reason = ''; public static function atLocation(string $dirname, string $errorMessage = '', ?Throwable $previous = null): UnableToCreateDirectory { $message = "Unable to create a directory at {$dirname}. {$errorMessage}"; $e = new static(rtrim($message), 0, $previous); $e->location = $dirname; $e->reason = $errorMessage; return $e; } public static function dueToFailure(string $dirname, Throwable $previous): UnableToCreateDirectory { $reason = $previous instanceof UnableToCreateDirectory ? $previous->reason() : ''; $message = "Unable to create a directory at $dirname. $reason"; $e = new static(rtrim($message), 0, $previous); $e->location = $dirname; $e->reason = $reason ?: $message; return $e; } public function operation(): string { return FilesystemOperationFailed::OPERATION_CREATE_DIRECTORY; } public function reason(): string { return $this->reason; } public function location(): string { return $this->location; } }
Upload File
Create Folder