nextcloud/lib/private/files/storage
Vincent Petry 1af7dab535 Fixed quota wrapper to not wrap failed fopen streams
When calling fopen() on some storage types, these return false instead
of throwing an exception.

This fix makes sure that in case the stream wasn't opened (for example
when a file doesn't exist any more) the stream isn't wrapped.

Also added 'rb' as another case that doesn't need to be wrapped.

Fixes #6832
2014-01-19 18:51:36 +01:00
..
wrapper Fixed quota wrapper to not wrap failed fopen streams 2014-01-19 18:51:36 +01:00
common.php Moved default isReadable/isUpdatable impl into Common class 2013-11-22 18:21:17 +01:00
commontest.php Change default mimetype detection for storage backends to only use filename 2013-11-20 15:25:29 +01:00
home.php Now using the "Home" storage detection approach for quota 2013-11-21 12:17:47 +01:00
loader.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
local.php Return SPACE_UNKNOWN if disk_free_space is disabled when getting the free space on a local storage 2014-01-02 13:19:10 +01:00
mappedlocal.php Change default mimetype detection for storage backends to only use filename 2013-11-20 15:25:29 +01:00
storage.php php 5.3 compatibility for \OC\Files\Storage 2013-10-08 23:00:41 +02:00
temporary.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00