summaryrefslogtreecommitdiffstats
path: root/lib/private/files/filesystem.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-02-19 09:40:11 +0100
committerVincent Petry <pvince81@owncloud.com>2014-02-19 09:40:11 +0100
commite517e642befa119b77521a2e15571ee6932046ad (patch)
tree9f0cdebce503b801682eb18d4e9dd23a6bbc1971 /lib/private/files/filesystem.php
parent1e321406ee2d973e937637ab090cbd83a6eb40cf (diff)
parentd18b9f6ea43b2a9b7bf9d2a71710edc67ec7f705 (diff)
downloadnextcloud-server-e517e642befa119b77521a2e15571ee6932046ad.tar.gz
nextcloud-server-e517e642befa119b77521a2e15571ee6932046ad.zip
Merge pull request #7257 from owncloud/filelist-fileinfo
use a FileInfo object of the directory when generting the filelist
Diffstat (limited to 'lib/private/files/filesystem.php')
-rw-r--r--lib/private/files/filesystem.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php
index d1ebad3490c..ac9d1eac783 100644
--- a/lib/private/files/filesystem.php
+++ b/lib/private/files/filesystem.php
@@ -733,14 +733,7 @@ class Filesystem {
* @param string $path
* @param boolean $includeMountPoints whether to add mountpoint sizes,
* defaults to true
- * @return array
- *
- * returns an associative array with the following keys:
- * - size
- * - mtime
- * - mimetype
- * - encrypted
- * - versioned
+ * @return \OC\Files\FileInfo
*/
public static function getFileInfo($path, $includeMountPoints = true) {
return self::$defaultInstance->getFileInfo($path, $includeMountPoints);