aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-14 12:19:31 +0200
committerVincent Petry <vincent@nextcloud.com>2022-10-14 16:18:40 +0200
commitd77e8322239754ef68f9dfe8c3687a39f94cc881 (patch)
treebfec4e1003e0fe5fc77298094e36d246898b78d5 /lib/public
parentac21c631a61fbc7042c787a5feb0cb9aa489af91 (diff)
downloadnextcloud-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.php17
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;
}