nextcloud/tests/lib/Files
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
..
AppData Some php-cs fixes 2019-11-22 20:52:10 +01:00
Cache dont set folder size to negative values during propagation 2019-11-26 12:05:30 +01:00
Config Some php-cs fixes 2019-11-22 20:52:10 +01:00
Mount Some php-cs fixes 2019-11-22 20:52:10 +01:00
Node Some php-cs fixes 2019-11-22 20:52:10 +01:00
ObjectStore Some php-cs fixes 2019-11-22 20:52:10 +01:00
SimpleFS Some php-cs fixes 2019-11-22 20:52:10 +01:00
Storage Some php-cs fixes 2019-11-22 20:52:10 +01:00
Stream Some php-cs fixes 2019-11-22 20:52:10 +01:00
Type Some php-cs fixes 2019-11-22 20:52:10 +01:00
Utils test: add unit test for files:scan --shallow 2018-05-18 14:51:08 -07:00
EtagTest.php Use proper methods for registerBackend 2017-08-15 11:29:15 +02:00
FileInfoTest.php Add dispatcher events to User and Group objects 2019-03-01 20:56:59 +01:00
FilesystemTest.php Move normalizePath to regexes instead of looping 2018-10-10 13:23:59 +02:00
PathVerificationTest.php Fix risky tests without assertions 2018-01-25 11:33:25 +01:00
ViewTest.php Some php-cs fixes 2019-11-22 20:52:10 +01:00