diff options
Diffstat (limited to 'lib/public/files/storage.php')
-rw-r--r-- | lib/public/files/storage.php | 48 |
1 files changed, 5 insertions, 43 deletions
diff --git a/lib/public/files/storage.php b/lib/public/files/storage.php index d3eb67975bc..1c125221449 100644 --- a/lib/public/files/storage.php +++ b/lib/public/files/storage.php @@ -33,21 +33,19 @@ // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes namespace OCP\Files; -use OCP\Files\Cache\ICache; -use OCP\Files\Cache\IPropagator; -use OCP\Files\Cache\IScanner; -use OCP\Files\Cache\IUpdater; -use OCP\Files\Cache\IWatcher; -use OCP\Files\InvalidPathException; + +use OCP\Files\Storage\IStorage; use OCP\Lock\ILockingProvider; /** * Provide a common interface to all different storage options * * All paths passed to the storage are relative to the storage and should NOT have a leading slash. + * * @since 6.0.0 + * @deprecated 9.0.0 use \OCP\Files\Storage\IStorage instead */ -interface Storage { +interface Storage extends IStorage { /** * $parameters is a free form array with the configuration options needed to construct the storage * @@ -467,40 +465,4 @@ interface Storage { * @param bool $isAvailable */ public function setAvailability($isAvailable); - - /** - * @param string $path path for which to retrieve the owner - * @since 9.0.0 - */ - public function getOwner($path); - - /** - * @return ICache - * @since 9.0.0 - */ - public function getCache(); - - /** - * @return IPropagator - * @since 9.0.0 - */ - public function getPropagator(); - - /** - * @return IScanner - * @since 9.0.0 - */ - public function getScanner(); - - /** - * @return IUpdater - * @since 9.0.0 - */ - public function getUpdater(); - - /** - * @return IWatcher - * @since 9.0.0 - */ - public function getWatcher(); } |