2024-03-17 18:37:06 -07:00
|
|
|
|
namespace SourceGit.Models
|
|
|
|
|
{
|
|
|
|
|
public class Branch
|
|
|
|
|
{
|
2021-04-29 05:05:55 -07:00
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string FullName { get; set; }
|
|
|
|
|
public string Head { get; set; }
|
|
|
|
|
public bool IsLocal { get; set; }
|
|
|
|
|
public bool IsCurrent { get; set; }
|
|
|
|
|
public string Upstream { get; set; }
|
|
|
|
|
public string UpstreamTrackStatus { get; set; }
|
|
|
|
|
public string Remote { get; set; }
|
2024-05-25 23:25:21 -07:00
|
|
|
|
public bool IsHead { get; set; }
|
2024-07-01 19:23:21 -07:00
|
|
|
|
|
|
|
|
|
public string FriendlyName => IsLocal ? Name : $"{Remote}/{Name}";
|
2021-04-29 05:05:55 -07:00
|
|
|
|
}
|
2024-03-31 01:54:29 -07:00
|
|
|
|
}
|