2014-11-24 09:54:42 -05:00
|
|
|
<?php
|
2024-05-23 03:26:56 -04:00
|
|
|
|
2014-11-24 09:54:42 -05:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2014-11-24 09:54:42 -05:00
|
|
|
*/
|
|
|
|
|
namespace OCP\Files\Config;
|
|
|
|
|
|
2026-02-03 10:00:35 -05:00
|
|
|
use OCP\Files\Mount\IMountPoint;
|
2014-11-24 09:54:42 -05:00
|
|
|
use OCP\Files\Storage\IStorageFactory;
|
|
|
|
|
use OCP\IUser;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Provides
|
2015-04-16 11:00:08 -04:00
|
|
|
* @since 8.0.0
|
2014-11-24 09:54:42 -05:00
|
|
|
*/
|
|
|
|
|
interface IMountProvider {
|
|
|
|
|
/**
|
|
|
|
|
* Get all mountpoints applicable for the user
|
|
|
|
|
*
|
2026-02-03 10:00:35 -05:00
|
|
|
* @return list<IMountPoint>
|
2015-04-16 11:00:08 -04:00
|
|
|
* @since 8.0.0
|
2014-11-24 09:54:42 -05:00
|
|
|
*/
|
|
|
|
|
public function getMountsForUser(IUser $user, IStorageFactory $loader);
|
|
|
|
|
}
|