|
@@ 176-185 (lines=10) @@
|
| 173 |
|
} |
| 174 |
|
|
| 175 |
|
/** {@inheritdoc} */ |
| 176 |
|
public function rmdir($path) { |
| 177 |
|
$this->init(); |
| 178 |
|
$path = $this->cleanPath($path); |
| 179 |
|
// FIXME: some WebDAV impl return 403 when trying to DELETE |
| 180 |
|
// a non-empty folder |
| 181 |
|
$result = $this->simpleResponse('DELETE', $path . '/', null, 204); |
| 182 |
|
$this->statCache->clear($path . '/'); |
| 183 |
|
$this->statCache->remove($path); |
| 184 |
|
return $result; |
| 185 |
|
} |
| 186 |
|
|
| 187 |
|
/** {@inheritdoc} */ |
| 188 |
|
public function opendir($path) { |
|
@@ 322-329 (lines=8) @@
|
| 319 |
|
} |
| 320 |
|
|
| 321 |
|
/** {@inheritdoc} */ |
| 322 |
|
public function unlink($path) { |
| 323 |
|
$this->init(); |
| 324 |
|
$path = $this->cleanPath($path); |
| 325 |
|
$result = $this->simpleResponse('DELETE', $path, null, 204); |
| 326 |
|
$this->statCache->clear($path . '/'); |
| 327 |
|
$this->statCache->remove($path); |
| 328 |
|
return $result; |
| 329 |
|
} |
| 330 |
|
|
| 331 |
|
/** {@inheritdoc} */ |
| 332 |
|
public function fopen($path, $mode) { |