2014-05-21 19:39:24 -04:00
|
|
|
<?php
|
2024-05-23 03:26:56 -04:00
|
|
|
|
2014-05-21 19:39:24 -04: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-05-21 19:39:24 -04:00
|
|
|
*/
|
|
|
|
|
namespace OC\Files\Mount;
|
|
|
|
|
|
2023-07-12 10:12:58 -04:00
|
|
|
use OCP\Files\Mount\IMovableMount;
|
|
|
|
|
|
2014-05-21 19:39:24 -04:00
|
|
|
/**
|
|
|
|
|
* Defines the mount point to be (re)moved by the user
|
|
|
|
|
*/
|
2023-07-12 10:12:58 -04:00
|
|
|
interface MoveableMount extends IMovableMount {
|
2014-05-21 19:39:24 -04:00
|
|
|
/**
|
|
|
|
|
* Move the mount point to $target
|
|
|
|
|
*
|
|
|
|
|
* @param string $target the target mount point
|
|
|
|
|
* @return bool
|
|
|
|
|
*/
|
|
|
|
|
public function moveMount($target);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Remove the mount points
|
|
|
|
|
*
|
|
|
|
|
* @return bool
|
|
|
|
|
*/
|
|
|
|
|
public function removeMount();
|
|
|
|
|
}
|