nextcloud/lib/private/Files
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
..
AppData Move CappedMemoryCache to OCP 2022-07-14 15:54:31 +02:00
Cache directly build the search filter for shared storage instead of setting up the source cache 2022-08-17 11:58:57 +02:00
Config fix updating cached mounts that didn't have their mount provider set previously 2022-08-16 13:47:41 +02:00
Lock Adapt LockScope to LockContext rename 2022-04-07 11:52:16 +02:00
Mount Move CappedMemoryCache to OCP 2022-07-14 15:54:31 +02:00
Node Only pass parent if paths match 2022-08-24 22:20:32 +02:00
Notify Update php licenses 2021-06-04 22:02:41 +02:00
ObjectStore don't update the folder size if we know it hasn't changed 2022-08-16 13:56:51 +02:00
Search generate a better optimized query for path prefix search filters 2021-08-26 19:07:52 +02:00
SimpleFS Fix typos in lib/private subdirectory 2022-07-27 08:52:17 -04:00
Storage files: make OC\Files\Storage\Local WORM friendly 2022-08-25 11:11:49 +02:00
Stream handle stream wrappers in SeekableHttpStream 2022-06-08 17:52:27 +02:00
Template Update php licenses 2021-06-04 22:02:41 +02:00
Type Migrate from ILogger to LoggerInterface in lib/private 2022-03-24 16:21:25 +01:00
Utils split out some path manipulation logic 2022-04-04 15:40:12 +02:00
FileInfo.php store unencrypted size in the unencrypted_size column 2022-08-16 13:54:26 +02:00
Filesystem.php Move CappedMemoryCache to OCP 2022-07-14 15:54:31 +02:00
SetupManager.php always triger setup of builtin storage wrappers 2022-07-21 16:36:32 +02:00
SetupManagerFactory.php make mount cache duration configurable 2022-03-24 17:36:53 +01:00
View.php Merge branch 'master' into display-name-cache-public 2022-08-15 15:28:30 +02:00