46 public function listContents($directory =
'', $recursive =
false);
190 public function delete(
$path);
listContents($directory='', $recursive=false)
List contents of a directory.
writeStream($path, $resource, array $config=[])
Write a new file using a stream.
put($path, $contents, array $config=[])
Create a file or update if exists.
createDir($dirname, array $config=[])
Create a directory.
getTimestamp($path)
Get a file's timestamp.
copy($path, $newpath)
Copy a file.
putStream($path, $resource, array $config=[])
Create a file or update if exists.
has($path)
Check whether a file exists.
readAndDelete($path)
Read and delete a file.
rename($path, $newpath)
Rename a file.
addPlugin(PluginInterface $plugin)
Register a plugin.
getMimetype($path)
Get a file's mime-type.
getMetadata($path)
Get a file's metadata.
Create styles array
The data for the language used.
getVisibility($path)
Get a file's visibility.
update($path, $contents, array $config=[])
Update an existing file.
updateStream($path, $resource, array $config=[])
Update an existing file using a stream.
setVisibility($path, $visibility)
Set the visibility for a file.
write($path, $contents, array $config=[])
Write a new file.
getSize($path)
Get a file's size.
readStream($path)
Retrieves a read-stream for a path.
deleteDir($dirname)
Delete a directory.