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

Commit a2e6a52

Browse files
author
Andreia Gaita
committed
Put things in their proper place
1 parent 12eac94 commit a2e6a52

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

src/GitHub.Api/Events/RepositoryWatcher.cs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -160,27 +160,6 @@ public int CheckAndProcessEvents()
160160
return processedEventCount;
161161
}
162162

163-
enum EventType
164-
{
165-
None,
166-
ConfigChanged,
167-
HeadChanged,
168-
RepositoryChanged,
169-
IndexChanged,
170-
RemoteBranchDeleted,
171-
RemoteBranchCreated,
172-
RemoteBranchChanged,
173-
LocalBranchDeleted,
174-
LocalBranchCreated,
175-
LocalBranchChanged
176-
}
177-
178-
class EventData
179-
{
180-
public string Origin;
181-
public string Branch;
182-
}
183-
184163
private int ProcessEvents(Event[] fileEvents)
185164
{
186165
Dictionary<EventType, List<EventData>> events = new Dictionary<EventType, List<EventData>>();
@@ -464,5 +443,26 @@ public void Dispose()
464443
}
465444

466445
protected static ILogging Logger { get; } = Logging.GetLogger<RepositoryWatcher>();
446+
447+
private enum EventType
448+
{
449+
None,
450+
ConfigChanged,
451+
HeadChanged,
452+
RepositoryChanged,
453+
IndexChanged,
454+
RemoteBranchDeleted,
455+
RemoteBranchCreated,
456+
RemoteBranchChanged,
457+
LocalBranchDeleted,
458+
LocalBranchCreated,
459+
LocalBranchChanged
460+
}
461+
462+
private class EventData
463+
{
464+
public string Origin;
465+
public string Branch;
466+
}
467467
}
468468
}

0 commit comments

Comments
 (0)