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

Struct mockBody

hcltest/mock.go:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22type mockBody struct {
23 C *hcl.BodyContent
24}
25
26func (b mockBody) Content(schema *hcl.BodySchema) (*hcl.BodyContent, hcl.Diagnostics) {
27 content, remainI, diags := b.PartialContent(schema)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected