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

Method Content

ext/transform/transform.go:42–46  ·  view source on GitHub ↗
(schema *hcl.BodySchema)

Source from the content-addressed store, hash-verified

40}
41
42func (w deepWrapper) Content(schema *hcl.BodySchema) (*hcl.BodyContent, hcl.Diagnostics) {
43 content, diags := w.Transformed.Content(schema)
44 content = w.transformContent(content)
45 return content, diags
46}
47
48func (w deepWrapper) PartialContent(schema *hcl.BodySchema) (*hcl.BodyContent, hcl.Body, hcl.Diagnostics) {
49 content, remain, diags := w.Transformed.PartialContent(schema)

Callers

nothing calls this directly

Calls 2

transformContentMethod · 0.95
ContentMethod · 0.65

Tested by

no test coverage detected