@@ -24,7 +24,6 @@ |
||
| 24 | 24 | namespace OC\Files\ObjectStore; |
| 25 | 25 | |
| 26 | 26 | use Guzzle\Http\Exception\ClientErrorResponseException; |
| 27 | -use OCP\Files\Cache\ICacheEntry; |
|
| 28 | 27 | use OCP\Files\ObjectStore\IObjectStore; |
| 29 | 28 | use OpenCloud\OpenStack; |
| 30 | 29 | use OpenCloud\Rackspace; |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | * |
| 21 | 21 | */ |
| 22 | 22 | namespace OCP\Files\ObjectStore; |
| 23 | -use OCP\Files\Cache\ICacheEntry; |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * Interface IObjectStore |
@@ -50,6 +50,7 @@ discard block |
||
| 50 | 50 | * @param array $stat |
| 51 | 51 | * @throws \Exception when something goes wrong, message will be logged |
| 52 | 52 | * @since 7.0.0 |
| 53 | + * @return void |
|
| 53 | 54 | */ |
| 54 | 55 | function writeObject($urn, $stream, $stat = []); |
| 55 | 56 | |
@@ -62,11 +63,14 @@ discard block |
||
| 62 | 63 | function deleteObject($urn); |
| 63 | 64 | |
| 64 | 65 | /** |
| 65 | - * @param string $path |
|
| 66 | + * @param null|string $urn |
|
| 66 | 67 | * @return string mixed |
| 67 | 68 | * @since 10.1.0 |
| 68 | 69 | */ |
| 69 | 70 | function getDirectDownload($urn); |
| 70 | 71 | |
| 72 | + /** |
|
| 73 | + * @param null|string $urn |
|
| 74 | + */ |
|
| 71 | 75 | function getVersions($urn); |
| 72 | 76 | } |
@@ -59,7 +59,6 @@ |
||
| 59 | 59 | use Sabre\DAV\Exception\NotFound; |
| 60 | 60 | use OC\AppFramework\Http\Request; |
| 61 | 61 | use Sabre\DAV\INode; |
| 62 | -use Sabre\DAV\SimpleFile; |
|
| 63 | 62 | |
| 64 | 63 | class File extends Node implements IFile, ICollection { |
| 65 | 64 | |