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

Method buildUrlForRelative

src/FileRise/Storage/WebDavAdapter.php:381–388  ·  view source on GitHub ↗
(string $rel)

Source from the content-addressed store, hash-verified

379 }
380
381 private function buildUrlForRelative(string $rel): string
382 {
383 $rel = trim($rel, '/');
384 if ($rel === '') {
385 return $this->baseUri;
386 }
387 return $this->baseUri . '/' . self::encodePath($rel);
388 }
389
390 private function buildUrlForPath(string $path): string
391 {

Callers 3

testConnectionMethod · 0.95
mkdirMethod · 0.95
buildUrlForPathMethod · 0.95

Calls 1

encodePathMethod · 0.95

Tested by

no test coverage detected