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: FileAttributes.php
<?php declare(strict_types=1); namespace League\Flysystem; class FileAttributes implements StorageAttributes { use ProxyArrayAccessToProperties; private string $type = StorageAttributes::TYPE_FILE; public function __construct( private string $path, private ?int $fileSize = null, private ?string $visibility = null, private ?int $lastModified = null, private ?string $mimeType = null, private array $extraMetadata = [] ) { $this->path = ltrim($this->path, '/'); } public function type(): string { return $this->type; } public function path(): string { return $this->path; } public function fileSize(): ?int { return $this->fileSize; } public function visibility(): ?string { return $this->visibility; } public function lastModified(): ?int { return $this->lastModified; } public function mimeType(): ?string { return $this->mimeType; } public function extraMetadata(): array { return $this->extraMetadata; } public function isFile(): bool { return true; } public function isDir(): bool { return false; } public function withPath(string $path): self { $clone = clone $this; $clone->path = $path; return $clone; } public static function fromArray(array $attributes): self { return new FileAttributes( $attributes[StorageAttributes::ATTRIBUTE_PATH], $attributes[StorageAttributes::ATTRIBUTE_FILE_SIZE] ?? null, $attributes[StorageAttributes::ATTRIBUTE_VISIBILITY] ?? null, $attributes[StorageAttributes::ATTRIBUTE_LAST_MODIFIED] ?? null, $attributes[StorageAttributes::ATTRIBUTE_MIME_TYPE] ?? null, $attributes[StorageAttributes::ATTRIBUTE_EXTRA_METADATA] ?? [] ); } public function jsonSerialize(): array { return [ StorageAttributes::ATTRIBUTE_TYPE => self::TYPE_FILE, StorageAttributes::ATTRIBUTE_PATH => $this->path, StorageAttributes::ATTRIBUTE_FILE_SIZE => $this->fileSize, StorageAttributes::ATTRIBUTE_VISIBILITY => $this->visibility, StorageAttributes::ATTRIBUTE_LAST_MODIFIED => $this->lastModified, StorageAttributes::ATTRIBUTE_MIME_TYPE => $this->mimeType, StorageAttributes::ATTRIBUTE_EXTRA_METADATA => $this->extraMetadata, ]; } }
Upload File
Create Folder