Files
git-tfs/GitTfs/Core/ITfsWorkspace.cs
T
Matt Burke b986c51ff8 Merge remote-tracking branch 'main/master' into faster-clone
Conflicts:
	GitTfs/Core/GitTfsRemote.cs
	GitTfs/Core/ITfsWorkspace.cs
2012-10-16 08:09:22 -04:00

33 lines
1.1 KiB
C#

using System;
using Sep.Git.Tfs.Commands;
using Sep.Git.Tfs.Core.TfsInterop;
namespace Sep.Git.Tfs.Core
{
public interface ITfsWorkspace
{
/// <summary>
/// Shelves all pending changes, with the given shelveset name.
/// </summary>
void Shelve(string shelvesetName, bool evaluateCheckinPolicies, Func<string> generateCheckinComment);
/// <summary>
/// Evaluates check-in policies and checks in all pending changes.
/// </summary>
long Checkin(CheckinOptions checkinOptions);
/// <summary>
/// Populates the workspace with a snapshot, as of the given changeset.
/// </summary>
void Get(int changesetId);
/// <summary>
/// Gets the files changed in a given changeset.
/// </summary>
void Get(IChangeset changeset);
string GetLocalPath(string path);
void Add(string path);
void Edit(string path);
void Delete(string path);
void Rename(string pathFrom, string pathTo, string score);
long CheckinTool(Func<string> generateCheckinComment);
}
}