The root of a storage always exists
This commit is contained in:
parent
5bf476efd0
commit
33eb13e415
|
@ -220,6 +220,9 @@ class Availability extends Wrapper {
|
|||
|
||||
/** {@inheritdoc} */
|
||||
public function file_exists($path) {
|
||||
if ($path === '') {
|
||||
return true;
|
||||
}
|
||||
$this->checkAvailability();
|
||||
try {
|
||||
return parent::file_exists($path);
|
||||
|
|
Loading…
Reference in New Issue