19 declare(strict_types=1);
73 public function copyDir(
string $source,
string $destination): void
115 return $this->
filesystem->getTimestamp($path);
142 return $this->
filesystem->getVisibility($path);
204 public function put(
string $path,
string $content): void
212 public function delete(
string $path):
void 236 public function copy(
string $path,
string $copy_path): void
readAndDelete(string $path)
The filesystem ready only decorator provides read only access and will throw an Exception whenever co...
getVisibility(string $path)
Indicates general problems with the input or output operations.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This class provides the data size with additional information to remove the work to calculate the siz...
createDir(string $path, string $visibility=Visibility::PUBLIC_ACCESS)
put(string $path, string $content)
putStream(string $path, FileStream $stream)
getTimestamp(string $path)
write(string $path, string $content)
writeStream(string $path, FileStream $stream)
copy(string $path, string $copy_path)
copyDir(string $source, string $destination)
listContents(string $path='', bool $recursive=false)
rename(string $path, string $new_path)
getSize(string $path, int $unit)
setVisibility(string $path, string $visibility)
const PUBLIC_ACCESS
Public file visibility.
The base interface for all filesystem streams.
__construct(private Filesystem $filesystem)
ReadOnlyDecorator constructor.
getMimeType(string $path)
update(string $path, string $new_content)
updateStream(string $path, FileStream $stream)