You are here

public function S3fsStreamWrapper::stream_stat in S3 File System 7.2

Same name and namespace in other branches
  1. 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::stream_stat()

Support for fstat().

Return value

array An array with file status, or FALSE in case of an error.

Overrides StreamWrapperInterface::stream_stat

See also

http://php.net/manual/en/streamwrapper.stream-stat.php

File

./S3fsStreamWrapper.inc, line 829
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

public function stream_stat() {
  $this
    ->_debug("stream_stat() called for {$this->uri}.");
  return $this
    ->_stat($this->uri);
}