summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-10-10 18:26:43 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-10-10 18:26:43 +0200
commit3ce828b4b7050a076065b0b33a8904d16d533f0a (patch)
treeea4e2d461a5450f645523e97301e676b33cec619 /lib
parent088879c4ec64d6964d1a8a9822dc5dc7aa61b176 (diff)
downloadnextcloud-server-3ce828b4b7050a076065b0b33a8904d16d533f0a.tar.gz
nextcloud-server-3ce828b4b7050a076065b0b33a8904d16d533f0a.zip
make trashbin compatible with objectstore, replace glob with search in cache, make unknown free space work like unlimited free space
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/view.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index baf765d4070..9b85560f830 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -1092,6 +1092,16 @@ class View {
}
/**
+ * search for files with the name matching $query
+ *
+ * @param string $query
+ * @return FileInfo[]
+ */
+ public function searchRaw($query) {
+ return $this->searchCommon($query, 'search');
+ }
+
+ /**
* search for files by mimetype
*
* @param string $mimetype