protected function S3fsStreamWrapper::_uri_is_dir in S3 File System 7.2
Same name and namespace in other branches
- 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::_uri_is_dir()
Determine whether the $uri is a directory.
Parameters
string $uri: The uri of the resource to check.
Return value
bool TRUE if the resource is a directory.
2 calls to S3fsStreamWrapper::_uri_is_dir()
- S3fsStreamWrapper::dir_opendir in ./S3fsStreamWrapper.inc 
- Support for opendir().
- S3fsStreamWrapper::rmdir in ./S3fsStreamWrapper.inc 
- Support for rmdir().
File
- ./S3fsStreamWrapper.inc, line 1207 
- Drupal stream wrapper implementation for S3 File System.
Class
- S3fsStreamWrapper
- The stream wrapper class.
Code
protected function _uri_is_dir($uri) {
  $metadata = $this
    ->_s3fs_get_object($uri);
  return $metadata ? $metadata['dir'] : FALSE;
}