新增远程项目克隆功能

This commit is contained in:
zyj
2026-03-10 10:25:45 +08:00
parent a3a12e5c5d
commit 6e0becb748
4 changed files with 169 additions and 1 deletions

View File

@@ -52,6 +52,19 @@ export function AddUser(platform, username, token) {
return $Call.ByID(2264426704, platform, username, token);
}
/**
* CloneProject 克隆远程仓库到本地目录,并添加到项目树
* @param {string} platform
* @param {string} username
* @param {string} repoURL
* @param {string} parentDir
* @param {string} name
* @returns {$CancellablePromise<void>}
*/
export function CloneProject(platform, username, repoURL, parentDir, name) {
return $Call.ByID(2347019414, platform, username, repoURL, parentDir, name);
}
/**
* CommitChanges 提交已暂存的更改
* @param {string} path