MCPcopy
hub / github.com/hashicorp/hcl / WriteDiagnostic

Method WriteDiagnostic

diagnostic.go:166–166  ·  view source on GitHub ↗
(*Diagnostic)

Source from the content-addressed store, hash-verified

164// A DiagnosticWriter emits diagnostics somehow.
165type DiagnosticWriter interface {
166 WriteDiagnostic(*Diagnostic) error
167 WriteDiagnostics(Diagnostics) error
168}
169

Callers 1

TestDiagnosticTextWriterFunction · 0.65

Implementers 2

diagnosticTextWriterdiagnostic_text.go
jsonDiagWritercmd/hcldec/diags_json.go

Calls

no outgoing calls

Tested by 1

TestDiagnosticTextWriterFunction · 0.52