2017-03-20 09:22:06 -04:00
|
|
|
<?php
|
|
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-03-20 09:22:06 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCP\Share;
|
|
|
|
|
|
|
|
|
|
use OCP\Files\Node;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Interface IShareHelper
|
|
|
|
|
*
|
|
|
|
|
* @since 12
|
|
|
|
|
*/
|
|
|
|
|
interface IShareHelper {
|
|
|
|
|
/**
|
|
|
|
|
* @param Node $node
|
2017-03-28 11:06:26 -04:00
|
|
|
* @return array [ users => [Mapping $uid => $pathForUser], remotes => [Mapping $cloudId => $pathToMountRoot]]
|
2017-03-20 09:22:06 -04:00
|
|
|
* @since 12
|
|
|
|
|
*/
|
2017-03-27 10:06:31 -04:00
|
|
|
public function getPathsForAccessList(Node $node);
|
2017-03-20 09:22:06 -04:00
|
|
|
}
|