diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-10-14 12:19:31 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-10-14 16:18:40 +0200 |
commit | d77e8322239754ef68f9dfe8c3687a39f94cc881 (patch) | |
tree | bfec4e1003e0fe5fc77298094e36d246898b78d5 /lib/public | |
parent | ac21c631a61fbc7042c787a5feb0cb9aa489af91 (diff) | |
download | nextcloud-server-d77e8322239754ef68f9dfe8c3687a39f94cc881.tar.gz nextcloud-server-d77e8322239754ef68f9dfe8c3687a39f94cc881.zip |
Fix tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Files/SimpleFS/ISimpleFolder.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/public/Files/SimpleFS/ISimpleFolder.php b/lib/public/Files/SimpleFS/ISimpleFolder.php index 3c8e6e88ab3..ca60cc4c418 100644 --- a/lib/public/Files/SimpleFS/ISimpleFolder.php +++ b/lib/public/Files/SimpleFS/ISimpleFolder.php @@ -80,4 +80,21 @@ interface ISimpleFolder { * @since 11.0.0 */ public function getName(): string; + + /** + * Get the folder named $name from the current folder + * + * @throws NotFoundException + * @since 25.0.0 + */ + public function getFolder(string $name): ISimpleFolder; + + /** + * Creates a new folder with $name in the current folder + * + * @param string|resource|null $content @since 19.0.0 + * @throws NotPermittedException + * @since 25.0.0 + */ + public function newFolder(string $path): ISimpleFolder; } |