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

Method sendInitialValues

pkg/wconfig/filewatcher.go:94–101  ·  view source on GitHub ↗

for initial values, exit on first error

()

Source from the content-addressed store, hash-verified

92
93// for initial values, exit on first error
94func (w *Watcher) sendInitialValues() error {
95 w.fullConfig = ReadFullConfig()
96 message := WatcherUpdate{
97 FullConfig: w.fullConfig,
98 }
99 w.broadcast(message)
100 return nil
101}
102
103func (w *Watcher) Close() {
104 w.mutex.Lock()

Callers 1

StartMethod · 0.95

Calls 2

broadcastMethod · 0.95
ReadFullConfigFunction · 0.85

Tested by

no test coverage detected