MoveableMount.php 604 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OC\Files\Mount;
  8. use OCP\Files\Mount\IMovableMount;
  9. /**
  10. * Defines the mount point to be (re)moved by the user
  11. */
  12. interface MoveableMount extends IMovableMount {
  13. /**
  14. * Move the mount point to $target
  15. *
  16. * @param string $target the target mount point
  17. * @return bool
  18. */
  19. public function moveMount($target);
  20. /**
  21. * Remove the mount points
  22. *
  23. * @return bool
  24. */
  25. public function removeMount();
  26. }