mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
The diff can be checked using: git diff --ignore-all-space --ignore-blank-lines To see only the changes not related to blank lines. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
32 lines
662 B
PHP
32 lines
662 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\Files_Versions\Versions;
|
|
|
|
use OCP\Files\Storage\IStorage;
|
|
|
|
/**
|
|
* @since 15.0.0
|
|
*/
|
|
interface IVersionManager extends IVersionBackend {
|
|
/**
|
|
* Register a new backend
|
|
*
|
|
* @param string $storageType
|
|
* @param IVersionBackend $backend
|
|
* @since 15.0.0
|
|
*/
|
|
public function registerBackend(string $storageType, IVersionBackend $backend);
|
|
|
|
/**
|
|
* @throws BackendNotFoundException
|
|
* @since 29.0.0
|
|
*/
|
|
public function getBackendForStorage(IStorage $storage): IVersionBackend;
|
|
}
|