MCPcopy Create free account
hub / github.com/php/frankenphp / startSession

Method startSession

internal/watcher/pattern.go:26–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26func (p *pattern) startSession() {
27 p.watcher = watcher.NewWatcher(p.value, p.handle)
28
29 if globalLogger.Enabled(globalCtx, slog.LevelDebug) {
30 globalLogger.LogAttrs(globalCtx, slog.LevelDebug, "watching", slog.String("pattern", p.value))
31 }
32}
33
34// this method prepares the pattern struct (aka /path/*pattern)
35func (p *pattern) parse() (err error) {

Callers 2

retryWatchingMethod · 0.95
startWatchingMethod · 0.80

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected