(string $path)
| 308 | } |
| 309 | |
| 310 | public function delete(string $path): bool |
| 311 | { |
| 312 | $url = $this->buildUrlForPath($path); |
| 313 | if ($url === '') { |
| 314 | return false; |
| 315 | } |
| 316 | $status = $this->request('DELETE', $url, null, []); |
| 317 | return $status >= 200 && $status < 300; |
| 318 | } |
| 319 | |
| 320 | public function mkdir(string $path, int $mode = 0775, bool $recursive = true): bool |
| 321 | { |
no test coverage detected