(effectType watcher.EffectType)
| 110 | } |
| 111 | |
| 112 | func isValidEventType(effectType watcher.EffectType) bool { |
| 113 | return effectType <= watcher.EffectTypeDestroy |
| 114 | } |
| 115 | |
| 116 | func isValidPathType(event *watcher.Event) bool { |
| 117 | if event.PathType == watcher.PathTypeWatcher && globalLogger.Enabled(globalCtx, slog.LevelDebug) { |