8000 Make Epoch internal · devinvisible/libgit2sharp@0865148 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0865148

Browse files
committed
Make Epoch internal
1 parent 9d91bd5 commit 0865148

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
</Reference>
5050
</ItemGroup>
5151
<ItemGroup>
52+
<Compile Include="..\LibGit2Sharp\Core\Epoch.cs">
53+
<Link>TestHelpers\Epoch.cs</Link>
54+
</Compile>
5255
<Compile Include="BlameFixture.cs" />
5356
<Compile Include="ArchiveTarFixture.cs" />
5457
<Compile Include="CheckoutFixture.cs" />

LibGit2Sharp/Core/Epoch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace LibGit2Sharp.Core
55
/// <summary>
66
/// Provides helper methods to help converting between Epoch (unix timestamp) and <see cref="DateTimeOffset"/>.
77
/// </summary>
8-
public static class Epoch
8+
internal static class Epoch
99
{
1010
private static readonly DateTimeOffset epochDateTimeOffset = new DateTimeOffset(1970, 1, 1, 0, 0, 0, TimeSpan.Zero);
1111

0 commit comments

Comments
 (0)
0