This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed
Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments