]> source.dussan.org Git - nextcloud-server.git/commitdiff
update autoloader
authorRobin Appelman <robin@icewind.nl>
Wed, 1 Apr 2020 16:48:40 +0000 (18:48 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Fri, 22 May 2020 13:31:13 +0000 (15:31 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/Files/Stream/SeekableHttpStream.php

index 8214117e7b8eab19ff252a080960cfb72be11e79..918f96377a940c3d1b4966cd889230c797d79192 100644 (file)
@@ -930,6 +930,7 @@ return array(
     'OC\\Files\\Storage\\Wrapper\\Wrapper' => $baseDir . '/lib/private/Files/Storage/Wrapper/Wrapper.php',
     'OC\\Files\\Stream\\Encryption' => $baseDir . '/lib/private/Files/Stream/Encryption.php',
     'OC\\Files\\Stream\\Quota' => $baseDir . '/lib/private/Files/Stream/Quota.php',
+    'OC\\Files\\Stream\\SeekableHttpStream' => $baseDir . '/lib/private/Files/Stream/SeekableHttpStream.php',
     'OC\\Files\\Type\\Detection' => $baseDir . '/lib/private/Files/Type/Detection.php',
     'OC\\Files\\Type\\Loader' => $baseDir . '/lib/private/Files/Type/Loader.php',
     'OC\\Files\\Type\\TemplateManager' => $baseDir . '/lib/private/Files/Type/TemplateManager.php',
index bbf65d39300a6a6ccb3132872c3859f32c20a240..6a73842e480c50bc446c840abf2ea8e402eebf04 100644 (file)
@@ -964,6 +964,7 @@ class ComposerStaticInit53792487c5a8370acc0b06b1a864ff4c
         'OC\\Files\\Storage\\Wrapper\\Wrapper' => __DIR__ . '/../../..' . '/lib/private/Files/Storage/Wrapper/Wrapper.php',
         'OC\\Files\\Stream\\Encryption' => __DIR__ . '/../../..' . '/lib/private/Files/Stream/Encryption.php',
         'OC\\Files\\Stream\\Quota' => __DIR__ . '/../../..' . '/lib/private/Files/Stream/Quota.php',
+        'OC\\Files\\Stream\\SeekableHttpStream' => __DIR__ . '/../../..' . '/lib/private/Files/Stream/SeekableHttpStream.php',
         'OC\\Files\\Type\\Detection' => __DIR__ . '/../../..' . '/lib/private/Files/Type/Detection.php',
         'OC\\Files\\Type\\Loader' => __DIR__ . '/../../..' . '/lib/private/Files/Type/Loader.php',
         'OC\\Files\\Type\\TemplateManager' => __DIR__ . '/../../..' . '/lib/private/Files/Type/TemplateManager.php',
index 8fe54839e2580c30d075cd5e92cc58afdb9baedf..fdcd9ea8cfb8072f324546a60950f858f0974873 100644 (file)
@@ -110,14 +110,14 @@ class SeekableHttpStream implements File {
                return true;
        }
 
-       function stream_open($path, $mode, $options, &$opened_path) {
+       public function stream_open($path, $mode, $options, &$opened_path) {
                $options = stream_context_get_options($this->context)[self::PROTOCOL];
                $this->openCallback = $options['callback'];
 
                return $this->reconnect(0);
        }
 
-       function stream_read($count) {
+       public function stream_read($count) {
                if (!$this->current) {
                        return false;
                }
@@ -126,7 +126,7 @@ class SeekableHttpStream implements File {
                return $ret;
        }
 
-       function stream_seek($offset, $whence = SEEK_SET) {
+       public function stream_seek($offset, $whence = SEEK_SET) {
                switch ($whence) {
                        case SEEK_SET:
                                if ($offset === $this->offset) {
@@ -144,19 +144,19 @@ class SeekableHttpStream implements File {
                return false;
        }
 
-       function stream_tell() {
+       public function stream_tell() {
                return $this->offset;
        }
 
-       function stream_stat() {
+       public function stream_stat() {
                return fstat($this->current);
        }
 
-       function stream_eof() {
+       public function stream_eof() {
                return feof($this->current);
        }
 
-       function stream_close() {
+       public function stream_close() {
                fclose($this->current);
        }
 
@@ -179,6 +179,4 @@ class SeekableHttpStream implements File {
        public function stream_flush() {
                return; //noop because readonly stream
        }
-
-
 }