You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/lib/public/Share/IPartialShareProvider.php

32 lines
638 B

<?php
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Share;
/**
* Interface IPartialShareProvider
*
* @since 33.0.0
*/
interface IPartialShareProvider extends IShareProvider {
/**
* Get shares received by the given user and filtered by path.
*
* If $forChildren is true, results should only include children of $path
*
* @return iterable<IShare>
* @since 33.0.0
*/
public function getSharedWithByPath(
string $userId,
int $shareType,
string $path,
bool $forChildren,
int $limit,
int $offset,
): iterable;
}