2020-11-24 01:14:44 -08:00
|
|
|
using System.Collections.Generic;
|
2020-07-03 00:24:31 -07:00
|
|
|
|
|
|
|
namespace SourceGit.Git {
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Blame
|
|
|
|
/// </summary>
|
|
|
|
public class Blame {
|
|
|
|
|
|
|
|
/// <summary>
|
2020-11-24 01:14:44 -08:00
|
|
|
/// Line content.
|
2020-07-03 00:24:31 -07:00
|
|
|
/// </summary>
|
2020-11-24 01:14:44 -08:00
|
|
|
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>
|
2020-11-24 01:14:44 -08:00
|
|
|
/// Lines
|
2020-07-03 00:24:31 -07:00
|
|
|
/// </summary>
|
2020-11-24 01:14:44 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|