diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-10-14 17:54:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 17:54:03 +0200 |
commit | 2b87aebcc2811653cff500d9f10bce42756fcb39 (patch) | |
tree | f64b539e9e660c79747128d08426c50d33a589f4 /lib/public | |
parent | f52bdfadf5198e5df57ae50316a8b9bfe8900b99 (diff) | |
parent | 19f35f42bcd527a08952681b07d84d008e583437 (diff) | |
download | nextcloud-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.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; } |