@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | * @param string $path |
175 | 175 | * @throws \OCP\Files\NotFoundException |
176 | 176 | * @throws \OCP\Files\NotPermittedException |
177 | - * @return string |
|
177 | + * @return \OCP\Files\Node |
|
178 | 178 | */ |
179 | 179 | public function get($path) { |
180 | 180 | $path = $this->normalizePath($path); |
@@ -371,6 +371,9 @@ discard block |
||
371 | 371 | |
372 | 372 | } |
373 | 373 | |
374 | + /** |
|
375 | + * @param string $fullPath |
|
376 | + */ |
|
374 | 377 | private function resolveVirtualNode($fullPath) { |
375 | 378 | $pieces = explode('/', $fullPath); |
376 | 379 | if ($pieces[1] !== 'meta') { |
@@ -23,7 +23,6 @@ |
||
23 | 23 | namespace OCA\DAV\MetaData; |
24 | 24 | |
25 | 25 | |
26 | -use OCP\IMetaData; |
|
27 | 26 | use Sabre\DAV\File; |
28 | 27 | |
29 | 28 | class MetaDataNode extends File { |
@@ -23,12 +23,10 @@ |
||
23 | 23 | namespace OCA\DAV\MetaData; |
24 | 24 | |
25 | 25 | |
26 | -use OCP\IMetaData; |
|
27 | 26 | use Sabre\DAV\Exception\Forbidden; |
28 | 27 | use Sabre\DAV\Exception\MethodNotAllowed; |
29 | 28 | use Sabre\DAV\Exception\NotFound; |
30 | 29 | use Sabre\DAV\ICollection; |
31 | -use Sabre\HTTP\URLUtil; |
|
32 | 30 | |
33 | 31 | class MetaDataHome implements ICollection { |
34 | 32 |