nextcloud/lib/public/Files/Mount/IMovableMount.php
Carl Schwan b86acb26c1
chore: Replace MoveableMount usage with IMovableMount
The former is private API while the IMovableMount is public.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-04-01 14:18:03 +02:00

32 lines
593 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Files\Mount;
/**
* Denotes that the mount point can be (re)moved by the user
*
* @since 28.0.0
*/
interface IMovableMount {
/**
* Move the mount point to $target
*
* @param string $target the target mount point
* @return bool
* @since 28.0.0
*/
public function moveMount(string $target);
/**
* Remove the mount points
*
* @return bool
* @since 28.0.0
*/
public function removeMount();
}