| @@ 285-294 (lines=10) @@ | ||
| 282 | /**  | 
                                |
| 283 | * @var \OC\Files\Mount\MountPoint $mount  | 
                                |
| 284 | */  | 
                                |
| 285 | 			if ($mount->getStorage()) { | 
                                |
| 286 | $cache = $mount->getStorage()->getCache();  | 
                                |
| 287 | $internalPath = $cache->getPathById($id);  | 
                                |
| 288 | 				if (\is_string($internalPath)) { | 
                                |
| 289 | $fullPath = $mount->getMountPoint() . $internalPath;  | 
                                |
| 290 | 					if (($path = $this->getRelativePath($fullPath)) !== null) { | 
                                |
| 291 | $nodes[] = $this->get($path);  | 
                                |
| 292 | }  | 
                                |
| 293 | }  | 
                                |
| 294 | }  | 
                                |
| 295 | }  | 
                                |
| 296 | return $nodes;  | 
                                |
| 297 | }  | 
                                |
| @@ 1743-1752 (lines=10) @@ | ||
| 1740 | // recursively  | 
                                |
| 1741 | continue;  | 
                                |
| 1742 | }  | 
                                |
| 1743 | 			if ($mount->getStorage()) { | 
                                |
| 1744 | $cache = $mount->getStorage()->getCache();  | 
                                |
| 1745 | $internalPath = $cache->getPathById($id);  | 
                                |
| 1746 | 				if (\is_string($internalPath)) { | 
                                |
| 1747 | $fullPath = $mount->getMountPoint() . $internalPath;  | 
                                |
| 1748 | 					if (($path = $this->getRelativePath($fullPath)) !== null) { | 
                                |
| 1749 | return $path;  | 
                                |
| 1750 | }  | 
                                |
| 1751 | }  | 
                                |
| 1752 | }  | 
                                |
| 1753 | }  | 
                                |
| 1754 | 		throw new NotFoundException(\sprintf('File with id "%s" has not been found.', $id)); | 
                                |
| 1755 | }  | 
                                |