(schema *hcl.BodySchema)
| 46 | } |
| 47 | |
| 48 | func (w deepWrapper) PartialContent(schema *hcl.BodySchema) (*hcl.BodyContent, hcl.Body, hcl.Diagnostics) { |
| 49 | content, remain, diags := w.Transformed.PartialContent(schema) |
| 50 | content = w.transformContent(content) |
| 51 | return content, remain, diags |
| 52 | } |
| 53 | |
| 54 | func (w deepWrapper) transformContent(content *hcl.BodyContent) *hcl.BodyContent { |
| 55 | if len(content.Blocks) == 0 { |
nothing calls this directly
no test coverage detected