MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / Watcher

Struct Watcher

pkg/wconfig/filewatcher.go:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22type ConfigUpdateHandler func(FullConfigType)
23
24type Watcher struct {
25 initialized bool
26 watcher *fsnotify.Watcher
27 mutex sync.Mutex
28 fullConfig FullConfigType
29 handlers []ConfigUpdateHandler
30}
31
32type WatcherUpdate struct {
33 FullConfig FullConfigType `json:"fullconfig"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected