MCPcopy Create free account
hub / github.com/Effect-TS/tsgo / diagnosticMessageString

Function diagnosticMessageString

internal/effecttest/quickfix_baseline.go:54–62  ·  view source on GitHub ↗
(d *lsproto.Diagnostic)

Source from the content-addressed store, hash-verified

52}
53
54func diagnosticMessageString(d *lsproto.Diagnostic) string {
55 if d.Message.String != nil {
56 return *d.Message.String
57 }
58 if d.Message.MarkupContent != nil {
59 return d.Message.MarkupContent.Value
60 }
61 return ""
62}
63
64// generateQuickFixBaseline creates the content for a *.quickfixes.txt baseline file.
65func generateQuickFixBaseline(inventory []QuickFixInventoryEntry, results []QuickFixApplicationResult) string {

Callers 1

generateQuickFixBaselineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected