@@ -148,7 +148,7 @@ public void UpdateConfigData()
148
148
public void CheckLogChangedEvent ( CacheUpdateEvent cacheUpdateEvent )
149
149
{
150
150
var managedCache = cacheContainer . GitLogCache ;
151
- var raiseEvent = managedCache . ShouldRaiseCacheEvent ( cacheUpdateEvent ) ;
151
+ var raiseEvent = managedCache . IsLastUpdatedTimeDifferent ( cacheUpdateEvent ) ;
152
152
153
153
Logger . Trace ( "Check GitLogCache CacheUpdateEvent Current:{0} Check:{1} Result:{2}" , managedCache . LastUpdatedAt ,
154
154
cacheUpdateEvent . UpdatedTimeString ?? "[NULL]" , raiseEvent ) ;
@@ -164,7 +164,7 @@ public void CheckLogChangedEvent(CacheUpdateEvent cacheUpdateEvent)
164
164
public void CheckStatusChangedEvent ( CacheUpdateEvent cacheUpdateEvent )
165
165
{
166
166
var managedCache = cacheContainer . GitStatusCache ;
167
- var raiseEvent = managedCache . ShouldRaiseCacheEvent ( cacheUpdateEvent ) ;
167
+ var raiseEvent = managedCache . IsLastUpdatedTimeDifferent ( cacheUpdateEvent ) ;
168
168
169
169
Logger . Trace ( "Check GitStatusCache CacheUpdateEvent Current:{0} Check:{1} Result:{2}" , managedCache . LastUpdatedAt ,
170
170
cacheUpdateEvent . UpdatedTimeString ?? "[NULL]" , raiseEvent ) ;
@@ -195,7 +195,7 @@ public void CheckCurrentBranchAndRemoteChangedEvent(CacheUpdateEvent cacheUpdate
195
195
private void CheckRepositoryInfoCacheEvent ( CacheUpdateEvent cacheUpdateEvent )
196
196
{
197
197
var managedCache = cacheContainer . RepositoryInfoCache ;
198
- var raiseEvent = managedCache . ShouldRaiseCacheEvent ( cacheUpdateEvent ) ;
198
+ var raiseEvent = managedCache . IsLastUpdatedTimeDifferent ( cacheUpdateEvent ) ;
199
199
200
200
Logger . Trace ( "Check RepositoryInfoCache CacheUpdateEvent Current:{0} Check:{1} Result:{2}" , managedCache . LastUpdatedAt ,
201
201
cacheUpdateEvent . UpdatedTimeString ?? "[NULL]" , raiseEvent ) ;
@@ -212,7 +212,7 @@ public void CheckLocksChangedEvent(CacheUpdateEvent cacheUpdateEvent)
212
212
{
213
213
CacheUpdateEvent cacheUpdateEvent1 = cacheUpdateEvent ;
214
214
var managedCache = cacheContainer . GitLocksCache ;
215
- var raiseEvent = managedCache . ShouldRaiseCacheEvent ( cacheUpdateEvent1 ) ;
215
+ var raiseEvent = managedCache . IsLastUpdatedTimeDifferent ( cacheUpdateEvent1 ) ;
216
216
217
217
Logger . Trace ( "Check GitLocksCache CacheUpdateEvent Current:{0} Check:{1} Result:{2}" , managedCache . LastUpdatedAt ,
218
218
cacheUpdateEvent1 . UpdatedTimeString ?? "[NULL]" , raiseEvent ) ;
@@ -275,7 +275,7 @@ public bool Equals(IRepository other)
275
275
private void CheckBranchCacheEvent ( CacheUpdateEvent cacheUpdateEvent )
276
276
{
277
277
var managedCache = cacheContainer . BranchCache ;
278
- var raiseEvent = managedCache . ShouldRaiseCacheEvent ( cacheUpdateEvent ) ;
278
+ var raiseEvent = managedCache . IsLastUpdatedTimeDifferent ( cacheUpdateEvent ) ;
279
279
280
280
Logger . Trace ( "Check BranchCache CacheUpdateEvent Current:{0} Check:{1} Result:{2}" , managedCache . LastUpdatedAt ,
281
281
cacheUpdateEvent . UpdatedTimeString ?? "[NULL]" , raiseEvent ) ;
@@ -685,7 +685,7 @@ public User(ICacheContainer cacheContainer)
685
685
public void CheckUserChangedEvent ( CacheUpdateEvent cacheUpdateEvent )
686
686
{
687
687
var managedCache = cacheContainer . GitUserCache ;
688
- var raiseEvent = managedCache . ShouldRaiseCacheEvent ( cacheUpdateEvent ) ;
688
+ var raiseEvent = managedCache . IsLastUpdatedTimeDifferent ( cacheUpdateEvent ) ;
689
689
690
690
Logger . Trace ( "Check GitUserCache CacheUpdateEvent Current:{0} Check:{1} Result:{2}" , managedCache . LastUpdatedAt ,
691
691
cacheUpdateEvent . UpdatedTimeString ?? "[NULL]" , raiseEvent ) ;
0 commit comments