mirror of
https://github.com/nextcloud/server.git
synced 2026-02-26 03:11:28 -05:00
IMountProviders implementing this interface will be able to take advantage of authoritative mounts. The function `getMountsFromMountPoints` will receive the path that the provider is asked to set-up and an array of IMountProviderArgs providing information regarding the stored mount points and the file cache data for the related root. The mount provider should verify the validity of the mounts and return IMountPoints related to them. Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
24 lines
461 B
PHP
24 lines
461 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCP\Files\Config;
|
|
|
|
use OCP\Files\Cache\ICacheEntry;
|
|
|
|
/**
|
|
* Data-class containing information related to a mount and its root.
|
|
*
|
|
* @since 33.0.0
|
|
*/
|
|
class IMountProviderArgs {
|
|
public function __construct(
|
|
public ICachedMountInfo $mountInfo,
|
|
public ICacheEntry $cacheEntry,
|
|
) {
|
|
}
|
|
}
|