feat: Make `ISharedStorage` public API and reuse where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>pull/46987/head
parent
cb1b366baf
commit
4bbcbc5206
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
namespace OCP\Files\Storage;
|
||||
|
||||
use OCP\Share\IShare;
|
||||
|
||||
/**
|
||||
* Interface for a storage that is based on a file share
|
||||
*
|
||||
* @since 30.0.0
|
||||
*/
|
||||
interface ISharedStorage extends IStorage {
|
||||
/**
|
||||
* The the associated share
|
||||
*
|
||||
* @return IShare
|
||||
* @since 30.0.0
|
||||
*/
|
||||
public function getShare(): IShare;
|
||||
}
|
||||
Loading…
Reference in New Issue