IShareHelper.php 464 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Share;
  7. use OCP\Files\Node;
  8. /**
  9. * Interface IShareHelper
  10. *
  11. * @since 12
  12. */
  13. interface IShareHelper {
  14. /**
  15. * @param Node $node
  16. * @return array [ users => [Mapping $uid => $pathForUser], remotes => [Mapping $cloudId => $pathToMountRoot]]
  17. * @since 12
  18. */
  19. public function getPathsForAccessList(Node $node);
  20. }