moveablemount.php 576 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
  4. * This file is licensed under the Affero General Public License version 3 or
  5. * later.
  6. * See the COPYING-README file.
  7. */
  8. namespace OC\Files\Mount;
  9. /**
  10. * Defines the mount point to be (re)moved by the user
  11. */
  12. interface MoveableMount {
  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 mixed
  24. * @return bool
  25. */
  26. public function removeMount();
  27. }