forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitStatusEntry.cs
More file actions
27 lines (24 loc) · 902 Bytes
/
GitStatusEntry.cs
File metadata and controls
27 lines (24 loc) · 902 Bytes
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
using System;
using System.Runtime.InteropServices;
namespace LibGit2Sharp.Core
{
/// <summary>
/// A status entry from libgit2.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
internal unsafe struct git_status_entry
{
/// <summary>
/// Calculated status of a filepath in the working directory considering the current <see cref = "Repository.Index" /> and the <see cref="Repository.Head" />.
/// </summary>
public FileStatus status;
/// <summary>
/// The difference between the <see cref="Repository.Head" /> and <see cref = "Repository.Index" />.
/// </summary>
public git_diff_delta* head_to_index;
/// <summary>
/// The difference between the <see cref = "Repository.Index" /> and the working directory.
/// </summary>
public git_diff_delta* index_to_workdir;
}
}