Merge pull request #31326 from nextcloud/enh/importsource-folder-listing

pull/31353/head
Pytal 2022-02-24 10:49:55 +07:00 committed by GitHub
commit d7e55e272e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

@ -53,6 +53,16 @@ interface IImportSource {
*/
public function getFileAsStream(string $path);
/**
* List the files of a folder
*
* @param string $path Full path to the folder in the export archive.
* @return array The list of files.
*
* @since 24.0.0
*/
public function getFolderListing(string $path): array;
/**
* Copy files from the export to a Folder
*