Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-09-24 19:49:52 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-26 11:24:23 +0400
commite37f44e56a9e18b794242b9d855de80c2b48a6c3 (patch)
tree581c02487ed08e1d4ef61a6d200e3081c591140c /lib/public
parentbdc26c6749a07edf80e1243c0d846c53c1fbb10f (diff)
Expose creatable permissions trough fileinfo
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/files/fileinfo.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/files/fileinfo.php b/lib/public/files/fileinfo.php
index b9c8258f21e..55bd8066120 100644
--- a/lib/public/files/fileinfo.php
+++ b/lib/public/files/fileinfo.php
@@ -123,6 +123,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
*
* @return bool