aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Config/IRootMountProvider.php
blob: e2a32fc346a8f04df57947ccc5970f2b95b13dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Files\Config;

use OCP\Files\Storage\IStorageFactory;

/**
 * @since 20.0.0
 */
interface IRootMountProvider {
	/**
	 * Get all root mountpoints of this provider
	 *
	 * @return \OCP\Files\Mount\IMountPoint[]
	 * @since 20.0.0
	 */
	public function getRootMounts(IStorageFactory $loader): array;
}