forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitIndexEntry.cs
More file actions
31 lines (28 loc) · 758 Bytes
/
GitIndexEntry.cs
File metadata and controls
31 lines (28 loc) · 758 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
28
29
30
31
using System;
using System.Runtime.InteropServices;
namespace LibGit2Sharp.Core
{
[StructLayout(LayoutKind.Sequential)]
internal unsafe struct git_index_mtime
{
public int seconds;
public uint nanoseconds;
}
[StructLayout(LayoutKind.Sequential)]
internal unsafe struct git_index_entry
{
internal const ushort GIT_IDXENTRY_VALID = 0x8000;
public git_index_mtime ctime;
public git_index_mtime mtime;
public uint dev;
public uint ino;
public uint mode;
public uint uid;
public uint gid;
public uint file_size;
public git_oid id;
public ushort flags;
public ushort extended_flags;
public char* path;
}
}