Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Directory.php « src « streams « icewind « 3rdparty « files_external « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c80a878386b53d50a5094510fcf241a8b213952e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
 * Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
 * This file is licensed under the Licensed under the MIT license:
 * http://opensource.org/licenses/MIT
 */

namespace Icewind\Streams;

/**
 * Interface for stream wrappers that implements a directory
 */
interface Directory {
	/**
	 * @param string $path
	 * @param array $options
	 * @return bool
	 */
	public function dir_opendir($path, $options);

	/**
	 * @return string
	 */
	public function dir_readdir();

	/**
	 * @return bool
	 */
	public function dir_closedir();

	/**
	 * @return bool
	 */
	public function dir_rewinddir();
}