Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 46191a3

Browse files
committed
feature: Make Repository/RepositoryManager/Watcher public!
1 parent ab50d4e commit 46191a3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/GitHub.Api/Events/RepositoryWatcher.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace GitHub.Unity
1010
{
11-
interface IRepositoryWatcher : IDisposable
11+
public interface IRepositoryWatcher : IDisposable
1212
{
1313
void Start();
1414
void Stop();
@@ -23,7 +23,7 @@ interface IRepositoryWatcher : IDisposable
2323
int CheckAndProcessEvents();
2424
}
2525

26-
class RepositoryWatcher : IRepositoryWatcher
26+
public class RepositoryWatcher : IRepositoryWatcher
2727
{
2828
private readonly RepositoryPathConfiguration paths;
2929
private readonly CancellationToken cancellationToken;

src/GitHub.Api/Git/Repository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public interface IBackedByCache
1313
}
1414

1515
[DebuggerDisplay("{DebuggerDisplay,nq}")]
16-
sealed class Repository : IEquatable<Repository>, IRepository
16+
public class Repository : IEquatable<Repository>, IRepository
1717
{
1818
private static ILogging Logger = LogHelper.GetLogger<Repository>();
1919

src/GitHub.Api/Git/RepositoryManager.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public interface IRepositoryManager : IDisposable
5555
bool IsBusy { get; }
5656
}
5757

58-
interface IRepositoryPathConfiguration
58+
public interface IRepositoryPathConfiguration
5959
{
6060
NPath RepositoryPath { get; }
6161
NPath DotGitPath { get; }
@@ -68,7 +68,7 @@ interface IRepositoryPathConfiguration
6868
bool IsWorktree { get; }
6969
}
7070

71-
class RepositoryPathConfiguration : IRepositoryPathConfiguration
71+
public class RepositoryPathConfiguration : IRepositoryPathConfiguration
7272
{
7373
public RepositoryPathConfiguration(NPath repositoryPath)
7474
{
@@ -124,7 +124,7 @@ public RepositoryPathConfiguration(NPath repositoryPath)
124124
public NPath DotGitCommitEditMsg { get; }
125125
}
126126

127-
class RepositoryManager : IRepositoryManager
127+
public class RepositoryManager : IRepositoryManager
128128
{
129129
private readonly IGitConfig config;
130130
private readonly IGitClient gitClient;

0 commit comments

Comments
 (0)