summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-02-18 15:39:35 +0100
committerRobin Appelman <icewind@owncloud.com>2014-02-18 15:39:35 +0100
commitd18b9f6ea43b2a9b7bf9d2a71710edc67ec7f705 (patch)
treeb67af1d1b3eea4cae9990359a8a2710c8365c5ba /lib
parent92560c5b86cb88920b6e439bdf4b90f1d59e9b6c (diff)
downloadnextcloud-server-d18b9f6ea43b2a9b7bf9d2a71710edc67ec7f705.tar.gz
nextcloud-server-d18b9f6ea43b2a9b7bf9d2a71710edc67ec7f705.zip
use a FileInfo object of the directory when generting the filelist
Diffstat (limited to 'lib')
-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 a83e9aa86d2..aa7f632c5f7 100644
--- a/lib/private/files/filesystem.php
+++ b/lib/private/files/filesystem.php
@@ -727,14 +727,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);