MCPcopy Index your code
hub / github.com/coder/coder / Append

Method Append

coderd/dynamicparameters/error.go:72–74  ·  view source on GitHub ↗
(key string, diag *hcl.Diagnostic)

Source from the content-addressed store, hash-verified

70}
71
72func (e *DiagnosticError) Append(key string, diag *hcl.Diagnostic) {
73 e.Extend(key, hcl.Diagnostics{diag})
74}
75
76func (e *DiagnosticError) Extend(key string, diag hcl.Diagnostics) {
77 if e.KeyedDiagnostics == nil {

Callers 2

TestCheckLatestVersionFunction · 0.45
failedTagDiagnosticFunction · 0.45

Calls 1

ExtendMethod · 0.95

Tested by 1

TestCheckLatestVersionFunction · 0.36