Commit 321e1cdc authored by Christopher Ng's avatar Christopher Ng
Browse files

Extend ImportSource interface to list files of a folder


Signed-off-by: default avatarChristopher Ng <chrng8@gmail.com>
parent 6da8a6d6
......@@ -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
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment