1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-04 08:54:39 +00:00

Convert origin repo path to available repo path.

This commit is contained in:
cuihaikuo
2018-08-07 18:19:46 +08:00
parent 2be53470b2
commit 1991a68bcf
8 changed files with 226 additions and 0 deletions

View File

@@ -798,6 +798,9 @@ class SeafileAPI(object):
def list_org_inner_pub_repos(self, org_id):
return seafserv_threaded_rpc.list_org_inner_pub_repos(org_id)
def convert_repo_path(self, repo_id, path, user, is_org=False):
return seafserv_threaded_rpc.convert_repo_path(repo_id, path, user, 1 if is_org else 0)
seafile_api = SeafileAPI()
class CcnetAPI(object):