1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-01 15:36:37 +00:00

Add search files RPC (#417)

* Add search files RPC

* Not case sensitive when searching files
This commit is contained in:
feiniks
2020-10-27 18:06:37 +08:00
committed by GitHub
parent 50ab9a8ffe
commit be8231ffc2
11 changed files with 202 additions and 1 deletions

View File

@@ -838,6 +838,9 @@ class SeafileAPI(object):
def pop_event(self, channel):
return seafserv_threaded_rpc.pop_event(channel)
def search_files(self, repo_id, search_str):
return seafserv_threaded_rpc.search_files(repo_id, search_str)
seafile_api = SeafileAPI()