sourcegit/src/Git/Blame.cs

31 lines
718 B
C#
Raw Normal View History

using System.Collections.Generic;
2020-07-03 00:24:31 -07:00
namespace SourceGit.Git {
/// <summary>
/// Blame
/// </summary>
public class Blame {
/// <summary>
/// Line content.
2020-07-03 00:24:31 -07:00
/// </summary>
public class Line {
2020-07-03 00:24:31 -07:00
public string CommitSHA { get; set; }
public string Author { get; set; }
public string Time { get; set; }
public string Content { get; set; }
}
/// <summary>
/// Lines
2020-07-03 00:24:31 -07:00
/// </summary>
public List<Line> Lines { get; set; } = new List<Line>();
2020-07-03 00:24:31 -07:00
/// <summary>
/// Is binary file?
/// </summary>
public bool IsBinary { get; set; } = false;
}
}