MCPcopy Create free account
hub / github.com/error311/FileRise / delete

Method delete

src/FileRise/Storage/WebDavAdapter.php:310–318  ·  view source on GitHub ↗
(string $path)

Source from the content-addressed store, hash-verified

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 {

Callers 1

deletePathMethod · 0.45

Calls 2

buildUrlForPathMethod · 0.95
requestMethod · 0.95

Tested by

no test coverage detected