2024-02-05 23:08:37 -08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
|
namespace SourceGit.Models
|
|
|
|
|
{
|
|
|
|
|
public class BlameLineInfo
|
|
|
|
|
{
|
2024-02-05 23:08:37 -08:00
|
|
|
|
public bool IsFirstInGroup { get; set; } = false;
|
|
|
|
|
public string CommitSHA { get; set; } = string.Empty;
|
|
|
|
|
public string Author { get; set; } = string.Empty;
|
|
|
|
|
public string Time { get; set; } = string.Empty;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
|
public class BlameData
|
|
|
|
|
{
|
2024-02-05 23:08:37 -08:00
|
|
|
|
public string File { get; set; } = string.Empty;
|
|
|
|
|
public List<BlameLineInfo> LineInfos { get; set; } = new List<BlameLineInfo>();
|
|
|
|
|
public string Content { get; set; } = string.Empty;
|
|
|
|
|
public bool IsBinary { get; set; } = false;
|
|
|
|
|
}
|
2024-03-31 01:54:29 -07:00
|
|
|
|
}
|