You are here

public function S3fsStream::dir_rewinddir in S3 File System 8.2

Support for rewinddir().

Return value

bool Always returns TRUE.

Overrides PhpStreamWrapperInterface::dir_rewinddir

See also

http://php.net/manual/en/streamwrapper.dir-rewinddir.php

File

src/StreamWrapper/S3fsStream.php, line 1081

Class

S3fsStream
Defines a Drupal s3fs (s3fs://) stream wrapper class.

Namespace

Drupal\s3fs\StreamWrapper

Code

public function dir_rewinddir() {
  $this
    ->_debug("dir_rewinddir() called.");
  reset($this->dir);
  return TRUE;
}