nextcloud/lib/private/Files/Cache
Robin Appelman 74c6beb603
dont set folder size to negative values during propagation
normally this shouldn't be a problem, but cache/storage desync might cause this
so this adds some failsafe to ensure we dont corrupt the cache further

the minimum value is set to -1 instead of 0 in order to triger a background scan
on the folder and figure out the size properly

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-26 12:05:30 +01:00
..
Wrapper Some php-cs fixes 2019-11-22 20:52:10 +01:00
AbstractCacheEvent.php Some php-cs fixes 2019-11-22 20:52:10 +01:00
Cache.php Some php-cs fixes 2019-11-22 20:52:10 +01:00
CacheEntry.php store filecache extension fields 2019-11-13 11:30:44 +01:00
CacheQueryBuilder.php store filecache extension fields 2019-11-13 11:30:44 +01:00
FailedCache.php Remove deprecated searchByTag 2019-07-26 12:29:19 +02:00
HomeCache.php Update with robin 2016-07-21 18:13:58 +02:00
HomePropagator.php Update with robin 2016-07-21 18:13:58 +02:00
MoveFromCacheTrait.php Fix cache moves 2019-11-18 12:48:00 +01:00
Propagator.php dont set folder size to negative values during propagation 2019-11-26 12:05:30 +01:00
QuerySearchHelper.php Fix DAV mimetype search 2019-10-28 21:56:29 +01:00
Scanner.php Avoid calculating folder size for parent that needs scan. 2019-03-06 15:23:37 +01:00
Storage.php log which storage id can't be inserted 2019-09-26 15:04:00 +02:00
StorageGlobal.php use eq instead of in for loading single storage 2019-09-26 15:04:04 +02:00
Updater.php Update with robin 2016-07-21 18:13:58 +02:00
Watcher.php Harden watcher 2019-11-22 13:38:16 +01:00