summaryrefslogtreecommitdiffstats
path: root/lib/private/files/node/folder.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/node/folder.php')
-rw-r--r--lib/private/files/node/folder.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/private/files/node/folder.php b/lib/private/files/node/folder.php
index 6fdcff13e1c..a65e641388d 100644
--- a/lib/private/files/node/folder.php
+++ b/lib/private/files/node/folder.php
@@ -237,6 +237,16 @@ class Folder extends Node implements \OCP\Files\Folder {
}
/**
+ * search for files by tag
+ *
+ * @param string $tag
+ * @return Node[]
+ */
+ public function searchByTag($tag) {
+ return $this->searchCommon($tag, 'searchByTag');
+ }
+
+ /**
* @param string $query
* @param string $method
* @return \OC\Files\Node\Node[]