Skip to content

Commit d2b32cb

Browse files
committed
made libgit2sharp implementation classes internal
1 parent 574bead commit d2b32cb

19 files changed

+20
-20
lines changed

src/GitVersion.LibGit2Sharp/Git/Branch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace GitVersion
22
{
3-
public class Branch : IBranch
3+
internal class Branch : IBranch
44
{
55
private readonly LibGit2Sharp.Branch innerBranch;
66

src/GitVersion.LibGit2Sharp/Git/BranchCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace GitVersion
66
{
7-
public class BranchCollection : IBranchCollection
7+
internal class BranchCollection : IBranchCollection
88
{
99
private readonly LibGit2Sharp.BranchCollection innerCollection;
1010
internal BranchCollection(LibGit2Sharp.BranchCollection collection) => innerCollection = collection;

src/GitVersion.LibGit2Sharp/Git/Commit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace GitVersion
66
{
7-
public class Commit : ICommit
7+
internal class Commit : ICommit
88
{
99
private static readonly LambdaEqualityHelper<ICommit> equalityHelper =
1010
new LambdaEqualityHelper<ICommit>(x => x.Id);

src/GitVersion.LibGit2Sharp/Git/CommitCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace GitVersion
77
{
8-
public class CommitCollection : ICommitCollection
8+
internal class CommitCollection : ICommitCollection
99
{
1010
private readonly ICommitLog innerCollection;
1111
internal CommitCollection(ICommitLog collection) => innerCollection = collection;

src/GitVersion.LibGit2Sharp/Git/GitRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace GitVersion
99
{
10-
public class GitRepository : IGitRepository
10+
internal class GitRepository : IGitRepository
1111
{
1212
private readonly ILog log;
1313
private Lazy<IRepository> repositoryLazy;

src/GitVersion.LibGit2Sharp/Git/GitRepositoryInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace GitVersion
88
{
9-
public class GitRepositoryInfo : IGitRepositoryInfo
9+
internal class GitRepositoryInfo : IGitRepositoryInfo
1010
{
1111
private readonly IOptions<GitVersionOptions> options;
1212
private GitVersionOptions gitVersionOptions => options.Value;

src/GitVersion.LibGit2Sharp/Git/ObjectId.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace GitVersion
44
{
5-
public class ObjectId : IObjectId
5+
internal class ObjectId : IObjectId
66
{
77
private static readonly LambdaEqualityHelper<IObjectId> equalityHelper =
88
new LambdaEqualityHelper<IObjectId>(x => x.Sha);

src/GitVersion.LibGit2Sharp/Git/Reference.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace GitVersion
44
{
5-
public class Reference : IReference
5+
internal class Reference : IReference
66
{
77
internal readonly LibGit2Sharp.Reference innerReference;
88
private DirectReference directReference => innerReference.ResolveToDirectReference();

src/GitVersion.LibGit2Sharp/Git/ReferenceCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace GitVersion
66
{
7-
public class ReferenceCollection : IReferenceCollection
7+
internal class ReferenceCollection : IReferenceCollection
88
{
99
private readonly LibGit2Sharp.ReferenceCollection innerCollection;
1010
internal ReferenceCollection(LibGit2Sharp.ReferenceCollection collection) => innerCollection = collection;

src/GitVersion.LibGit2Sharp/Git/Remote.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace GitVersion
44
{
5-
public class Remote : IRemote
5+
internal class Remote : IRemote
66
{
77
private readonly LibGit2Sharp.Remote innerRemote;
88

0 commit comments

Comments
 (0)