1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-10 19:59:18 +00:00

Add get repo by id prefix RPC (#557)

Add get repos by id prefix test

del ret_corrupted parameter
This commit is contained in:
feiniks
2022-05-30 14:07:58 +08:00
committed by GitHub
parent e7f96976e9
commit cf479cefc2
8 changed files with 134 additions and 0 deletions

View File

@@ -16,6 +16,11 @@ class SeafServerThreadedRpcClient(NamedPipeClient):
pass
create_enc_repo = seafile_create_enc_repo
@searpc_func("objlist", ["string", "int", "int"])
def seafile_get_repos_by_id_prefix(id_prefix, start, limit):
pass
get_repos_by_id_prefix = seafile_get_repos_by_id_prefix
@searpc_func("object", ["string"])
def seafile_get_repo(repo_id):
pass