summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorroot <roger.szabo@web.de>2016-07-27 15:17:29 +0800
committerroot <roger.szabo@web.de>2016-07-27 15:17:29 +0800
commit2719dcabed16954c7c01114e7a6357089556ad78 (patch)
treebe77987507ad9a51afd10a2c1a14bd92c5b17ad0 /lib/public
parent1c64ee67afb41f3d3872f1ad59d5c3c900394bbb (diff)
parent95a0714973b4b6b95658c2904a0de7ba93c8eab9 (diff)
downloadnextcloud-server-2719dcabed16954c7c01114e7a6357089556ad78.tar.gz
nextcloud-server-2719dcabed16954c7c01114e7a6357089556ad78.zip
Merge branch 'master' of https://github.com/nextcloud/server
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/FileInfo.php5
-rw-r--r--lib/public/Files/Folder.php8
2 files changed, 13 insertions, 0 deletions
diff --git a/lib/public/Files/FileInfo.php b/lib/public/Files/FileInfo.php
index d61726c4217..04790d41556 100644
--- a/lib/public/Files/FileInfo.php
+++ b/lib/public/Files/FileInfo.php
@@ -59,6 +59,11 @@ interface FileInfo {
const SPACE_UNLIMITED = -3;
/**
+ * @since 9.1.0
+ */
+ const MIMETYPE_FOLDER = 'httpd/unix-directory';
+
+ /**
* Get the Etag of the file or folder
*
* @return string
diff --git a/lib/public/Files/Folder.php b/lib/public/Files/Folder.php
index 9a2a338b559..8f8576d8503 100644
--- a/lib/public/Files/Folder.php
+++ b/lib/public/Files/Folder.php
@@ -175,4 +175,12 @@ interface Folder extends Node {
* @since 8.1.0
*/
public function getNonExistingName($name);
+
+ /**
+ * @param int $limit
+ * @param int $offset
+ * @return \OCP\Files\Node[]
+ * @since 9.1.0
+ */
+ public function getRecent($limit, $offset = 0);
}