mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-25 21:07:20 -08:00
19 lines
421 B
C#
19 lines
421 B
C#
namespace SourceGit.Models
|
|
{
|
|
public enum DecoratorType
|
|
{
|
|
None,
|
|
CurrentBranchHead,
|
|
LocalBranchHead,
|
|
CurrentCommitHead,
|
|
RemoteBranchHead,
|
|
Tag,
|
|
}
|
|
|
|
public class Decorator
|
|
{
|
|
public DecoratorType Type { get; set; } = DecoratorType.None;
|
|
public string Name { get; set; } = "";
|
|
public bool IsTag => Type == DecoratorType.Tag;
|
|
}
|
|
}
|