MCPcopy Create free account
hub / github.com/docker/docker-language-server / recomputeDiagnostics

Method recomputeDiagnostics

internal/pkg/server/server.go:176–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174}
175
176func (s *Server) recomputeDiagnostics() {
177 for _, uri := range s.docs.Keys() {
178 doc := s.docs.Get(context.Background(), uri)
179 if doc != nil {
180 s.computeDiagnostics(context.Background(), string(uri))
181 }
182 }
183}
184
185func (s *Server) StartBackgrondProcesses(ctx context.Context) {
186 s.publishTelemetry(ctx)

Callers 1

Calls 3

computeDiagnosticsMethod · 0.95
KeysMethod · 0.80
GetMethod · 0.65

Tested by

no test coverage detected