Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GitHub Mirror
Nextcloud
server
Commits
321e1cdc
Commit
321e1cdc
authored
Feb 23, 2022
by
Christopher Ng
Browse files
Extend ImportSource interface to list files of a folder
Signed-off-by:
Christopher Ng
<
chrng8@gmail.com
>
parent
6da8a6d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/public/UserMigration/IImportSource.php
View file @
321e1cdc
...
...
@@ -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
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment