新增dvc操作

This commit is contained in:
fanshuai 2024-08-29 10:08:02 +08:00
parent 25be4d3954
commit 43b78fefd5
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ public class DatasetServiceImpl implements DatasetService {
// 得到用户操作的路径
String url = datasetVo.getDatasetVersionVos().get(0).getUrl();
String localPath = "E:/test/" + datasetVo.getName();
String localPath = "/home/tempwork" + datasetVo.getName();
String sourcePath = url.substring(0, url.lastIndexOf("/"));
// 命令行操作 git clone 项目地址
DVCUtils.gitClone(localPath, projectUrl, branchName, gitusername, gitpassword);