nextcloud/lib/private/Files/Storage
Tigran Mkrtchyan b6065a236f files: make OC\Files\Storage\Local WORM friendly
Some filesystems run as a Write-Once-Read-Many storages. This
makes them impossible to use with NexeCloud, as the file system
layers uses `truncate` syscall (through file_put_contents function).

As Nextcloud is never updates existing files, removing the old entry
and creatint a new one on update will allow NextCoud to update on such
file systems.

Update Local#fopen and Local#file_put_contents to remote existing
file before truncating.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
2022-08-25 11:11:49 +02:00
..
PolyFill make param names consistent with interface for copy directory polyfill 2021-10-07 17:19:44 +02:00
Wrapper Move CappedMemoryCache to OCP 2022-07-14 15:54:31 +02:00
Common.php Merge pull request #31475 from nextcloud/kofemann-patch-1 2022-06-21 18:44:05 +02:00
CommonTest.php Update php licenses 2021-06-04 22:02:41 +02:00
DAV.php composer run cs:fix 2022-04-26 16:52:53 +02:00
FailedStorage.php Update php licenses 2021-06-04 22:02:41 +02:00
Home.php Update php licenses 2021-06-04 22:02:41 +02:00
Local.php files: make OC\Files\Storage\Local WORM friendly 2022-08-25 11:11:49 +02:00
LocalRootStorage.php Update php licenses 2021-06-04 22:02:41 +02:00
LocalTempFileTrait.php Update php licenses 2021-06-04 22:02:41 +02:00
Storage.php Merge branch 'master' into imountpoint-ocp-storage 2021-10-22 11:47:37 +02: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