Files
git-tfs/GitTfs/Core/ITfsWorkspace.cs
T
Kevin Lo 1ea8fb8318 Add default comments for shelves
This will generate a default comment for shelves from commit message(s)
just like checkins currently do.
2012-06-26 17:36:53 -07:00

23 lines
733 B
C#

using System;
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();
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);
}
}