nextcloud/lib/private/Files/Storage
Vincent Petry 8d1a3daa3f Allow ext storage Local to go unavailable
Whenever an external storage of type Local points at a non-existing
directory, process this as a StorageNotAvailable instead of returning
404.

This makes desktop clients ignore the folder instead of deleting it when
it becomes unavailable.

The code change was limited to external storages to avoid issues during
setup and with the default home storage.
Signed-off-by: Vincent Petry <pvince81@yahoo.fr>
2023-08-29 11:04:31 +02:00
..
PolyFill Rename file1 and file2 to source and target in Storage abstraction 2022-10-18 17:21:47 +02:00
Wrapper only determine quota_include_external_storage once for quota wrapper 2023-08-18 14:25:28 +02:00
Common.php Refactors "strpos" calls in lib/private to improve code readability. 2023-05-15 15:17:19 +03:30
CommonTest.php Update php licenses 2021-06-04 22:02:41 +02:00
DAV.php dav: clean path before putting it in the statcache 2023-06-23 14:39:17 +02:00
FailedStorage.php Remove unused method getLocalFolder 2023-04-03 10:52:34 +02:00
Home.php Update php licenses 2021-06-04 22:02:41 +02:00
Local.php Allow ext storage Local to go unavailable 2023-08-29 11:04:31 +02:00
LocalRootStorage.php Update php licenses 2021-06-04 22:02:41 +02:00
LocalTempFileTrait.php Fix return type of methods returning false on error 2023-04-03 10:52:34 +02:00
Storage.php composer run cs:fix 2023-01-20 11:45:08 +01:00
StorageFactory.php Update php licenses 2021-06-04 22:02:41 +02:00
Temporary.php Update php licenses 2021-06-04 22:02:41 +02:00