2020-07-30 20:09:19 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2020-08-24 12:54:25 +00:00
|
|
|
|
2020-07-30 20:09:19 +00:00
|
|
|
/**
|
2024-05-23 07:26:56 +00:00
|
|
|
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2020-07-30 20:09:19 +00:00
|
|
|
*/
|
|
|
|
namespace OCP\Files\Config;
|
|
|
|
|
|
|
|
use OCP\Files\Storage\IStorageFactory;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @since 20.0.0
|
|
|
|
*/
|
|
|
|
interface IRootMountProvider {
|
|
|
|
/**
|
2020-08-17 15:13:41 +00:00
|
|
|
* Get all root mountpoints of this provider
|
2020-07-30 20:09:19 +00:00
|
|
|
*
|
|
|
|
* @return \OCP\Files\Mount\IMountPoint[]
|
|
|
|
* @since 20.0.0
|
|
|
|
*/
|
|
|
|
public function getRootMounts(IStorageFactory $loader): array;
|
|
|
|
}
|