Skip to content

Commit 57aaae1

Browse files
committed
Move classes from GitVersion.Core.Model to the dedicated namespace folder.
1 parent ec543ff commit 57aaae1

38 files changed

+18
-43
lines changed

src/GitVersion.App.Tests/ArgumentParserTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using GitVersion.Extensions;
55
using GitVersion.Helpers;
66
using GitVersion.Logging;
7-
using GitVersion.Model;
87
using GitVersion.VersionCalculation;
98
using Microsoft.Extensions.DependencyInjection;
109
using NUnit.Framework;

src/GitVersion.App/ArgumentParser.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using GitVersion.Extensions;
33
using GitVersion.Helpers;
44
using GitVersion.Logging;
5-
using GitVersion.Model;
65
using GitVersion.OutputVariables;
76

87
namespace GitVersion;

src/GitVersion.App/Arguments.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using GitVersion.Configuration;
22
using GitVersion.Logging;
3-
using GitVersion.Model;
43

54
namespace GitVersion;
65

src/GitVersion.App/GitVersionExecutor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using GitVersion.Configuration;
22
using GitVersion.Extensions;
33
using GitVersion.Logging;
4-
using GitVersion.Model;
54

65
namespace GitVersion;
76

src/GitVersion.App/PublicAPI.Shipped.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ GitVersion.Arguments.LogFilePath -> string?
1818
GitVersion.Arguments.NoCache -> bool
1919
GitVersion.Arguments.NoFetch -> bool
2020
GitVersion.Arguments.NoNormalize -> bool
21-
GitVersion.Arguments.Output -> System.Collections.Generic.ISet<GitVersion.Model.OutputType>!
21+
GitVersion.Arguments.Output -> System.Collections.Generic.ISet<GitVersion.OutputType>!
2222
GitVersion.Arguments.OutputFile -> string?
2323
GitVersion.Arguments.OverrideConfig -> GitVersion.Configuration.GitVersionConfiguration?
2424
GitVersion.Arguments.ShowConfig -> bool

src/GitVersion.Core/Model/BranchCommit.cs renamed to src/GitVersion.Core/BranchCommit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public override int GetHashCode()
3232
{
3333
unchecked
3434
{
35-
return ((Branch != null ? Branch.GetHashCode() : 0) * 397) ^ (Commit != null ? Commit.GetHashCode() : 0);
35+
return (Branch != null ? Branch.GetHashCode() : 0) * 397 ^ (Commit != null ? Commit.GetHashCode() : 0);
3636
}
3737
}
3838

0 commit comments

Comments
 (0)