You are here

public function AmazonS3StreamWrapper::rmdir in AmazonS3 7

Support for rmdir().

Parameters

string $uri: A string containing the URI to the directory to delete.

int $options: A bit mask of STREAM_REPORT_ERRORS.

Return value

bool TRUE if directory was successfully removed.

Overrides StreamWrapperInterface::rmdir

See also

http://php.net/manual/en/streamwrapper.rmdir.php

File

./AmazonS3StreamWrapper.inc, line 819
Drupal stream wrapper implementation for Amazon S3

Class

AmazonS3StreamWrapper
@file Drupal stream wrapper implementation for Amazon S3

Code

public function rmdir($uri, $options) {
  return $this
    ->_amazons3_rmdir($uri, $options);
}