File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/league/flysystem/src
Upload
[..]
CalculateChecksumFromStream.php (793 B)
Edit
Rename
Del
ChecksumAlgoIsNotSupported.php (169 B)
Edit
Rename
Del
ChecksumProvider.php (291 B)
Edit
Rename
Del
Config.php (1.39 KB)
Edit
Rename
Del
CorruptedPathDetected.php (316 B)
Edit
Rename
Del
DecoratedAdapter.php (2.36 KB)
Edit
Rename
Del
DirectoryAttributes.php (2.02 KB)
Edit
Rename
Del
DirectoryListing.php (2.03 KB)
Edit
Rename
Del
FileAttributes.php (2.5 KB)
Edit
Rename
Del
Filesystem.php (9.62 KB)
Edit
Rename
Del
FilesystemAdapter.php (2.72 KB)
Edit
Rename
Del
FilesystemException.php (130 B)
Edit
Rename
Del
FilesystemOperationFailed.php (954 B)
Edit
Rename
Del
FilesystemOperator.php (138 B)
Edit
Rename
Del
FilesystemReader.php (2.12 KB)
Edit
Rename
Del
FilesystemWriter.php (1.41 KB)
Edit
Rename
Del
InvalidStreamProvided.php (225 B)
Edit
Rename
Del
InvalidVisibilityProvided.php (553 B)
Edit
Rename
Del
MountManager.php (15 KB)
Edit
Rename
Del
PathNormalizer.php (148 B)
Edit
Rename
Del
PathPrefixer.php (1.13 KB)
Edit
Rename
Del
PathTraversalDetected.php (482 B)
Edit
Rename
Del
PortableVisibilityGuard.php (511 B)
Edit
Rename
Del
ProxyArrayAccessToProperties.php (1.2 KB)
Edit
Rename
Del
ResolveIdenticalPathConflict.php (198 B)
Edit
Rename
Del
StorageAttributes.php (1.01 KB)
Edit
Rename
Del
SymbolicLinkEncountered.php (531 B)
Edit
Rename
Del
UnableToCheckDirectoryExistence.php (257 B)
Edit
Rename
Del
UnableToCheckExistence.php (678 B)
Edit
Rename
Del
UnableToCheckFileExistence.php (247 B)
Edit
Rename
Del
UnableToCopyFile.php (1.49 KB)
Edit
Rename
Del
UnableToCreateDirectory.php (1.33 KB)
Edit
Rename
Del
UnableToDeleteDirectory.php (974 B)
Edit
Rename
Del
UnableToDeleteFile.php (923 B)
Edit
Rename
Del
UnableToGeneratePublicUrl.php (754 B)
Edit
Rename
Del
UnableToGenerateTemporaryUrl.php (760 B)
Edit
Rename
Del
UnableToListContents.php (650 B)
Edit
Rename
Del
UnableToMountFilesystem.php (915 B)
Edit
Rename
Del
UnableToMoveFile.php (1.6 KB)
Edit
Rename
Del
UnableToProvideChecksum.php (387 B)
Edit
Rename
Del
UnableToReadFile.php (925 B)
Edit
Rename
Del
UnableToResolveFilesystemMount.php (723 B)
Edit
Rename
Del
UnableToRetrieveMetadata.php (1.98 KB)
Edit
Rename
Del
UnableToSetVisibility.php (982 B)
Edit
Rename
Del
UnableToWriteFile.php (920 B)
Edit
Rename
Del
UnixVisibility/
Rename
Del
UnreadableFileEncountered.php (556 B)
Edit
Rename
Del
UrlGeneration/
Rename
Del
Visibility.php (163 B)
Edit
Rename
Del
WhitespacePathNormalizer.php (1.13 KB)
Edit
Rename
Del
Edit: UnableToMoveFile.php
<?php declare(strict_types=1); namespace League\Flysystem; use RuntimeException; use Throwable; final class UnableToMoveFile extends RuntimeException implements FilesystemOperationFailed { /** * @var string */ private $source; /** * @var string */ private $destination; public static function sourceAndDestinationAreTheSame(string $source, string $destination): UnableToMoveFile { return UnableToMoveFile::because('Source and destination are the same', $source, $destination); } public function source(): string { return $this->source; } public function destination(): string { return $this->destination; } public static function fromLocationTo( string $sourcePath, string $destinationPath, ?Throwable $previous = null ): UnableToMoveFile { $message = $previous?->getMessage() ?? "Unable to move file from $sourcePath to $destinationPath"; $e = new static($message, 0, $previous); $e->source = $sourcePath; $e->destination = $destinationPath; return $e; } public static function because( string $reason, string $sourcePath, string $destinationPath, ): UnableToMoveFile { $message = "Unable to move file from $sourcePath to $destinationPath, because $reason"; $e = new static($message); $e->source = $sourcePath; $e->destination = $destinationPath; return $e; } public function operation(): string { return FilesystemOperationFailed::OPERATION_MOVE; } }
Simpan