diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-10 11:38:46 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-14 14:34:14 +0100 |
commit | 5534f70c5ddfd83cef78cb95d5b66ae078b472b6 (patch) | |
tree | 05c0be6acc733a2cf4aa71a1324576e2983a3417 /lib/public | |
parent | d8b2d32a5e3ddec7842f4e1007ff3233488f1f8a (diff) | |
download | nextcloud-server-5534f70c5ddfd83cef78cb95d5b66ae078b472b6.tar.gz nextcloud-server-5534f70c5ddfd83cef78cb95d5b66ae078b472b6.zip |
Add pathExists method to IImportSource to test if a path exists in the archive
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/UserMigration/IImportSource.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/UserMigration/IImportSource.php b/lib/public/UserMigration/IImportSource.php index df91c0e71ab..17ad4c9f12f 100644 --- a/lib/public/UserMigration/IImportSource.php +++ b/lib/public/UserMigration/IImportSource.php @@ -64,6 +64,13 @@ interface IImportSource { public function getFolderListing(string $path): array; /** + * Test if a path exists + * + * @since 24.0.0 + */ + public function pathExists(string $path): bool; + + /** * Copy files from the export to a Folder * * Folder $destination folder to copy into |