From ccb4475a8d882a28fc84fd2e61c3bfa8ac74e563 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 24 Sep 2014 17:49:52 +0200 Subject: Expose creatable permissions trough fileinfo --- lib/public/files/fileinfo.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/public/files') diff --git a/lib/public/files/fileinfo.php b/lib/public/files/fileinfo.php index 0279050b858..ec81a541564 100644 --- a/lib/public/files/fileinfo.php +++ b/lib/public/files/fileinfo.php @@ -135,6 +135,13 @@ interface FileInfo { */ public function isUpdateable(); + /** + * Check whether new files or folders can be created inside this folder + * + * @return bool + */ + public function isCreatable(); + /** * Check if a file or folder can be deleted * -- cgit v1.2.3