diff --git a/lib/public/UserMigration/IImportSource.php b/lib/public/UserMigration/IImportSource.php index f3051b097e072..df91c0e71abd1 100644 --- a/lib/public/UserMigration/IImportSource.php +++ b/lib/public/UserMigration/IImportSource.php @@ -53,6 +53,16 @@ public function getFileContents(string $path): string; */ 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 *