Shallow is equivalent to calling transformer.TransformBody(body), and is provided only for completeness of the top-level API.
(body hcl.Body, transformer Transformer)
| 10 | // Shallow is equivalent to calling transformer.TransformBody(body), and |
| 11 | // is provided only for completeness of the top-level API. |
| 12 | func Shallow(body hcl.Body, transformer Transformer) hcl.Body { |
| 13 | return transformer.TransformBody(body) |
| 14 | } |
| 15 | |
| 16 | // Deep applies the given transform to the given body and then |
| 17 | // wraps the result such that any descendent blocks that are decoded will |
nothing calls this directly
no test coverage detected