1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-03 08:24:27 +00:00

Add search_files_by_path RPC (#599)

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2023-02-25 11:24:50 +08:00
committed by GitHub
parent 766d716c6a
commit 499e8e8d17
7 changed files with 44 additions and 9 deletions

View File

@@ -856,6 +856,9 @@ class SeafileAPI(object):
def search_files(self, repo_id, search_str):
return seafserv_threaded_rpc.search_files(repo_id, search_str)
def search_files_by_path (self, repo_id, path, search_str):
return seafserv_threaded_rpc.search_files_by_path(repo_id, path, search_str)
seafile_api = SeafileAPI()