summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-10-14 17:54:03 +0200
committerGitHub <noreply@github.com>2022-10-14 17:54:03 +0200
commit2b87aebcc2811653cff500d9f10bce42756fcb39 (patch)
treef64b539e9e660c79747128d08426c50d33a589f4 /lib/public
parentf52bdfadf5198e5df57ae50316a8b9bfe8900b99 (diff)
parent19f35f42bcd527a08952681b07d84d008e583437 (diff)
downloadnextcloud-server-2b87aebcc2811653cff500d9f10bce42756fcb39.tar.gz
nextcloud-server-2b87aebcc2811653cff500d9f10bce42756fcb39.zip
Merge pull request #34599 from nextcloud/fix/background-appdata-scrope
Scope the appdata theming storage for global and users
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;
}