69 use \HPCloud\Bootstrap;
70 use \HPCloud\Storage\ObjectStorage;
93 public function mkdir($uri, $mode, $options) {
106 public function rmdir($path, $options) {
116 $stat = parent::url_stat($path, $flags);
158 if (empty(
$url[
'host'])) {
159 trigger_error(
'Container name is required.' , E_USER_WARNING);
167 if (empty(
$url[
'path'])) {
168 $this->dirPrefix =
'';
171 $this->dirPrefix =
$url[
'path'];
182 trigger_error(
'Path could not be opened: ' . $e->getMessage(), E_USER_WARNING);
195 $request_time = time();
198 $type = $dir ? 040000 : 0100000;
200 $mode = $type + $this->
cxt(
'swiftfs_fake_stat_mode', 0777);
207 'uid' => posix_getuid(),
208 'gid' => posix_getgid(),
211 'atime' => $request_time,
212 'mtime' => $request_time,
213 'ctime' => $request_time,
218 $final = array_values($values) + $values;