示例#1
0
        public void Apply(ITfsWorkspace workspace)
        {
            var workspaceFile = workspace.GetLocalPath(Path);

            Repository.GetBlob(NewSha, workspaceFile);
            workspace.Add(Path);
        }
示例#2
0
文件: Add.cs 项目: runt18/git-tfs
 public void Apply(ITfsWorkspace workspace)
 {
     var workspaceFile = workspace.GetLocalPath(Path);
     Repository.CopyBlob(NewSha, workspaceFile);
     workspace.Add(Path);
 }
示例#3
0
 public void Apply(ITfsWorkspace workspace)
 {
     var workspaceFile = workspace.GetLocalPath(_path);
     _repository.GetBlob(_newSha, workspaceFile);
     workspace.Add(_path);
 }