mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-31 15:11:08 +00:00
File names in json format (#559)
This commit is contained in:
@@ -98,10 +98,10 @@ def write_file(file_path, file_content):
|
||||
fp.close()
|
||||
|
||||
def del_repo_files(repo_id):
|
||||
api.del_file(repo_id, '/', file_name, USER)
|
||||
api.del_file(repo_id, '/', file_name_not_replaced, USER)
|
||||
api.del_file(repo_id, '/', 'subdir', USER)
|
||||
api.del_file(repo_id, '/', resumable_file_name, USER)
|
||||
api.del_file(repo_id, '/', '[\"'+file_name+'\"]', USER)
|
||||
api.del_file(repo_id, '/', '[\"'+file_name_not_replaced+'\"]', USER)
|
||||
api.del_file(repo_id, '/', '[\"subdir\"]', USER)
|
||||
api.del_file(repo_id, '/', '[\"'+resumable_file_name+'\"]', USER)
|
||||
|
||||
def del_local_files():
|
||||
os.remove(file_path)
|
||||
|
Reference in New Issue
Block a user