aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/icewind/streams/src/DirectoryWrapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/icewind/streams/src/DirectoryWrapper.php')
-rw-r--r--apps/files_external/3rdparty/icewind/streams/src/DirectoryWrapper.php47
1 files changed, 0 insertions, 47 deletions
diff --git a/apps/files_external/3rdparty/icewind/streams/src/DirectoryWrapper.php b/apps/files_external/3rdparty/icewind/streams/src/DirectoryWrapper.php
deleted file mode 100644
index ff47096d2d7..00000000000
--- a/apps/files_external/3rdparty/icewind/streams/src/DirectoryWrapper.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-/**
- * Copyright (c) 2015 Robin Appelman <icewind@owncloud.com>
- * This file is licensed under the Licensed under the MIT license:
- * http://opensource.org/licenses/MIT
- */
-
-namespace Icewind\Streams;
-
-class DirectoryWrapper extends Wrapper implements Directory {
- public function stream_open($path, $mode, $options, &$opened_path) {
- return false;
- }
-
- /**
- * @param string $path
- * @param array $options
- * @return bool
- */
- public function dir_opendir($path, $options) {
- $this->loadContext();
- return true;
- }
-
- /**
- * @return string|false
- */
- public function dir_readdir() {
- return readdir($this->source);
- }
-
- /**
- * @return bool
- */
- public function dir_closedir() {
- closedir($this->source);
- return true;
- }
-
- /**
- * @return bool
- */
- public function dir_rewinddir() {
- rewinddir($this->source);
- return true;
- }
-}