mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-31 15:11:08 +00:00
Add rpc cancel_zip_task().
This commit is contained in:
@@ -280,6 +280,10 @@ class SeafServerRpcClient(ccnet.RpcClientBase):
|
||||
pass
|
||||
query_zip_progress = seafile_query_zip_progress
|
||||
|
||||
@searpc_func("int", ["string"])
|
||||
def cancel_zip_task(token):
|
||||
pass
|
||||
|
||||
###### GC ####################
|
||||
@searpc_func("int", [])
|
||||
def seafile_gc():
|
||||
|
@@ -49,6 +49,9 @@ class SeafileAPI(object):
|
||||
"""
|
||||
return seafserv_rpc.query_zip_progress(token)
|
||||
|
||||
def cancel_zip_task(self, token):
|
||||
return seafserv_rpc.cancel_zip_task(token)
|
||||
|
||||
# password
|
||||
|
||||
def is_password_set(self, repo_id, username):
|
||||
|
Reference in New Issue
Block a user