MCPcopy
hub / github.com/wavetermdev/waveterm / handleSettingsFileEvent

Method handleSettingsFileEvent

pkg/wconfig/filewatcher.go:169–173  ·  view source on GitHub ↗
(_ fsnotify.Event, _ string)

Source from the content-addressed store, hash-verified

167}
168
169func (w *Watcher) handleSettingsFileEvent(_ fsnotify.Event, _ string) {
170 fullConfig := ReadFullConfig()
171 w.fullConfig = fullConfig
172 w.broadcast(WatcherUpdate{FullConfig: w.fullConfig})
173}

Callers 1

handleEventMethod · 0.95

Calls 2

broadcastMethod · 0.95
ReadFullConfigFunction · 0.85

Tested by

no test coverage detected