]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add doc for \OCP\Files\FileInfo space constants
authorMorris Jobke <hey@morrisjobke.de>
Tue, 19 Aug 2014 14:49:51 +0000 (16:49 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 19 Aug 2014 14:49:51 +0000 (16:49 +0200)
lib/public/files/fileinfo.php

index ece4409ca5501a1e7b766c5b766206598a3252b6..0279050b8588ecd644f16f40c90cc122caa03ebc 100644 (file)
@@ -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;
 
        /**