summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-08-19 16:49:51 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-08-19 16:49:51 +0200
commitab6ee6a600a5d373c28bad988f5a7ac9eca52b54 (patch)
treec89e0cb951edefb123ef976adfd25a434b601388
parent9a5e745a644bc57c2bcc1b58f2933b85ba37f6d6 (diff)
downloadnextcloud-server-ab6ee6a600a5d373c28bad988f5a7ac9eca52b54.tar.gz
nextcloud-server-ab6ee6a600a5d373c28bad988f5a7ac9eca52b54.zip
Add doc for \OCP\Files\FileInfo space constants
-rw-r--r--lib/public/files/fileinfo.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/files/fileinfo.php b/lib/public/files/fileinfo.php
index ece4409ca55..0279050b858 100644
--- a/lib/public/files/fileinfo.php
+++ b/lib/public/files/fileinfo.php
@@ -11,8 +11,17 @@ interface FileInfo {
const TYPE_FILE = 'file';
const TYPE_FOLDER = 'dir';
+ /*
+ * @const \OCP\Files\FileInfo::SPACE_NOT_COMPUTED Return value for a not computed space value
+ */
const SPACE_NOT_COMPUTED = -1;
+ /*
+ * @const \OCP\Files\FileInfo::SPACE_UNKNOWN Return value for unknown space value
+ */
const SPACE_UNKNOWN = -2;
+ /*
+ * @const \OCP\Files\FileInfo::SPACE_UNKNOWN Return value for unlimited space
+ */
const SPACE_UNLIMITED = -3;
/**