1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-02 07:54:27 +00:00

Add byte-range upload.

This commit is contained in:
ly1217
2019-02-19 01:18:31 -08:00
parent 5c8c640142
commit d851199f06
10 changed files with 671 additions and 81 deletions

View File

@@ -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