blob: 8314888a0a05844aea1f27dc10e68c56a74da43e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
namespace LibGit2Sharp
{
/// <summary>
/// Holds a summary of a change to a single file.
/// </summary>
public class ContentChangeStats
{
/// <summary>
/// The number of lines added in the diff.
/// </summary>
public virtual int LinesAdded { get; private set; }
/// <summary>
/// The number of lines deleted in the diff.
/// </summary>
public virtual int LinesDeleted { get; private set; }
/// <summary>
/// For mocking.
/// </summary>
protected ContentChangeStats()
{ }
internal ContentChangeStats(int added, int deleted)
{
LinesAdded = added;
LinesDeleted = deleted;
}
}
}
|