mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-31 23:19:36 +00:00
Add byte-range upload.
This commit is contained in:
@@ -989,6 +989,11 @@ class SeafServerThreadedRpcClient(ccnet.RpcClientBase):
|
||||
def get_trash_repo_owner(repo_id):
|
||||
pass
|
||||
|
||||
@searpc_func("int64", ["string", "string"])
|
||||
def seafile_get_upload_tmp_file_offset(repo_id, file_path):
|
||||
pass
|
||||
get_upload_tmp_file_offset = seafile_get_upload_tmp_file_offset
|
||||
|
||||
@searpc_func("int", ["string", "string", "string", "string"])
|
||||
def seafile_mkdir_with_parents (repo_id, parent_dir, relative_path, username):
|
||||
pass
|
||||
|
@@ -383,6 +383,9 @@ class SeafileAPI(object):
|
||||
def check_repo_blocks_missing(self, repo_id, blklist):
|
||||
return seafserv_threaded_rpc.check_repo_blocks_missing(repo_id, blklist)
|
||||
|
||||
def get_upload_tmp_file_offset (self, repo_id, file_path):
|
||||
return seafserv_threaded_rpc.get_upload_tmp_file_offset (repo_id, file_path)
|
||||
|
||||
# file lock
|
||||
def check_file_lock(self, repo_id, path, user):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user