@@ -102,7 +102,7 @@ |
||
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | 104 | * @param \Icewind\SMB\Change $change |
| 105 | - * @return IChange|null |
|
| 105 | + * @return null|Change |
|
| 106 | 106 | */ |
| 107 | 107 | private function mapChange(\Icewind\SMB\Change $change) { |
| 108 | 108 | $path = $this->relativePath($change->getPath()); |
@@ -144,6 +144,9 @@ |
||
| 144 | 144 | return true; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $path |
|
| 149 | + */ |
|
| 147 | 150 | public function url_stat($path) { |
| 148 | 151 | if (isset(self::$data[$path])) { |
| 149 | 152 | $size = strlen(self::$data[$path]); |
@@ -31,14 +31,11 @@ |
||
| 31 | 31 | |
| 32 | 32 | namespace OCA\Files_External\Lib\Storage; |
| 33 | 33 | |
| 34 | -use Icewind\SMB\Change; |
|
| 35 | 34 | use Icewind\SMB\Exception\ConnectException; |
| 36 | 35 | use Icewind\SMB\Exception\Exception; |
| 37 | 36 | use Icewind\SMB\Exception\ForbiddenException; |
| 38 | 37 | use Icewind\SMB\Exception\NotFoundException; |
| 39 | -use Icewind\SMB\INotifyHandler; |
|
| 40 | 38 | use Icewind\SMB\IFileInfo; |
| 41 | -use Icewind\SMB\IShare; |
|
| 42 | 39 | use Icewind\SMB\NativeServer; |
| 43 | 40 | use Icewind\SMB\Server; |
| 44 | 41 | use Icewind\Streams\CallbackWrapper; |