1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-01 15:36:37 +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

@@ -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):
"""