MCPcopy Index your code
hub / github.com/php/frankenphp / isValidEventType

Function isValidEventType

internal/watcher/pattern.go:112–114  ·  view source on GitHub ↗
(effectType watcher.EffectType)

Source from the content-addressed store, hash-verified

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

Callers 1

allowReloadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected