mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 07:35:13 -04:00
Merge pull request #34048 from nextcloud/feat/add-nodeFilter-to-user_migration
Add a nodeFilter parameter for IExportDestination::copyFolder
This commit is contained in:
commit
ca747b91d4
1 changed files with 2 additions and 1 deletions
|
|
@ -60,11 +60,12 @@ interface IExportDestination {
|
|||
*
|
||||
* @param Folder $folder folder to copy to the export archive.
|
||||
* @param string $destinationPath Full path to the folder in the export archive. Parent directories will be created if needed.
|
||||
* @param ?callable(\OCP\Files\Node):bool $nodeFilter Callback to filter nodes to copy
|
||||
* @throws UserMigrationException
|
||||
*
|
||||
* @since 24.0.0
|
||||
*/
|
||||
public function copyFolder(Folder $folder, string $destinationPath): void;
|
||||
public function copyFolder(Folder $folder, string $destinationPath, ?callable $nodeFilter = null): void;
|
||||
|
||||
/**
|
||||
* @param array<string,int> $versions Migrators and their versions.
|
||||
|
|
|
|||
Loading…
Reference in a new issue