terraform-provider-gitea/vendor/github.com/hashicorp/hcl/v2/hclsyntax/file.go
Malar Invention 00ebcd295e add vendor
2022-04-03 09:37:16 +05:30

21 lines
351 B
Go

package hclsyntax
import (
"github.com/hashicorp/hcl/v2"
)
// File is the top-level object resulting from parsing a configuration file.
type File struct {
Body *Body
Bytes []byte
}
func (f *File) AsHCLFile() *hcl.File {
return &hcl.File{
Body: f.Body,
Bytes: f.Bytes,
// TODO: The Nav object, once we have an implementation of it
}
}