mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-10 19:59:18 +00:00
Add online gc (#706)
* Add online gc core * Add check gc when update repo * Go add check gc when update repo * Add gc unit test * Support set pwd_hash for gc and fsck * Optimize to check if block exists --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
@@ -612,6 +612,10 @@ class SeafServerThreadedRpcClient(NamedPipeClient):
|
||||
def get_repo_history_limit(repo_id):
|
||||
pass
|
||||
|
||||
@searpc_func("int", ["string", "int64"])
|
||||
def set_repo_valid_since(repo_id, timestamp):
|
||||
pass
|
||||
|
||||
# virtual repo
|
||||
@searpc_func("string", ["string", "string", "string", "string", "string", "string"])
|
||||
def create_virtual_repo(origin_repo_id, path, repo_name, repo_desc, owner, passwd=''):
|
||||
|
Reference in New Issue
Block a user