//IsAppMarkedInStage returns whether the application is marked in the specified stage
IsAppMarkedInStage returns whether the application is marked in the specified stage
// IsAppMarkedInStage returns whether the application is marked in the specified stage
func (s *InMemorySyncState) IsAppMarkedInStage(app argov1alpha1.Application, stage syncv1alpha1.ProgressiveSyncStage) bool {
	s.Mutex.Lock()
	defer s.Mutex.Unlock()
	value, ok := s.SyncedAtStage[app.Name]
	if ok && value == stage.Name {
		return true
	}
	return false
}
func ( s * InMemorySyncState ) IsAppMarkedInStage ( app argov1alpha1 . Application , stage syncv1alpha1 . ProgressiveSyncStage ) bool { s . Mutex . Lock ( ) defer s . Mutex . Unlock ( ) value , ok := s . SyncedAtStage [ app . Name ] if ok && value == stage . Name { return true } return false }
IsAppMarkedInStage returns whether the application is marked in the specified stage
IsAppMarkedInStage returns whether the application is marked in the specified stage