sourcegit/src/Models/Decorator.cs

22 lines
461 B
C#
Raw Normal View History

2021-04-29 05:05:55 -07:00
namespace SourceGit.Models {
2020-07-03 00:24:31 -07:00
/// <summary>
2021-04-29 05:05:55 -07:00
/// 修饰类型
2020-07-03 00:24:31 -07:00
/// </summary>
public enum DecoratorType {
None,
CurrentBranchHead,
LocalBranchHead,
RemoteBranchHead,
Tag,
}
/// <summary>
2021-04-29 05:05:55 -07:00
/// 提交的附加修饰
2020-07-03 00:24:31 -07:00
/// </summary>
public class Decorator {
2021-04-29 05:05:55 -07:00
public DecoratorType Type { get; set; } = DecoratorType.None;
public string Name { get; set; } = "";
2020-07-03 00:24:31 -07:00
}
}