blob: a8c79ee750165d3d899baf1975cad8284c21155f [file] [log] [blame]
// Code generated by gocode.Generate; DO NOT EDIT.
package filetypes
import (
"fmt"
"cuelang.org/go/cue"
"cuelang.org/go/encoding/gocode/gocodec"
)
var cuegenvalFileInfo = cuegenMake("FileInfo", &FileInfo{})
// Validate validates x.
func (x *FileInfo) Validate() error {
return cuegenCodec.Validate(cuegenvalFileInfo, x)
}
var cuegenCodec, cuegenInstance = func() (*gocodec.Codec, *cue.Instance) {
var r *cue.Runtime
r = &cue.Runtime{}
instances, err := r.Unmarshal(cuegenInstanceData)
if err != nil {
panic(err)
}
if len(instances) != 1 {
panic("expected encoding of exactly one instance")
}
return gocodec.New(r, nil), instances[0]
}()
// cuegenMake is called in the init phase to initialize CUE values for
// validation functions.
func cuegenMake(name string, x interface{}) cue.Value {
f, err := cuegenInstance.LookupField(name)
if err != nil {
panic(fmt.Errorf("could not find type %q in instance", name))
}
v := f.Value
if x != nil {
w, err := cuegenCodec.ExtractType(x)
if err != nil {
panic(err)
}
v = v.Unify(w)
}
return v
}
// Data size: 1132 bytes.
var cuegenInstanceData = []byte("\x01\x1f\x8b\b\x00\x00\x00\x00\x00\x00\xff\xdcWO\x8b\xdc6\x14\xb7&[\xa8DR\xda\x0fPP}\b\xe9@\xe7Z\x18\b\xb9\xa4\x81\\J\xe9u\t\x8b\u05a3\xf1\xba\xb1%c\xcbe\x97\xee\x1c\u06a6i?p\u03d9\xf2\xf4$\u02d2=Iw!P\xaa\u02cc\u007fO\xef\xff{\xd2\u04e3\xe3\x9f+\xb2:\xfe\x95\x91\xe3oY\xf6\xed\xf1\xd7\a\x84<\xacTo\x84*\xe4sa\x04\xe0\xe4\x019\xfbQkCV\x199\xfbA\x98+\xf20#\x9f\xbc\xa8j\u0653\xe3\xdb,\u02fe<\xfe\xb1\"\xe4\xb3\xf3W\xc5 7\xfb\xaav\x9co3r|\x93eO\x8e\xbf? \xe4\u04c0\xbf\xc9\u020a\x9c}/\x1a\t\x82\xce,\u0232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x16\xa6\x1c\x87\xc2\x17\x1b\a\x98\x14\x85[#\xa0\x05$\x17\xc5\xda\u0363X\xbb\xb7\xde9}1\xac\x96asm&\x92\xe1\xf8\x03\xb4\xd4\xce\x05\x8b\x96\x1a0<\xa6\xbc:\xfb\x05\aNU\xcbp\xba\xa4\x8f\x83|\xaf\xf5\u01bd4'/^\xffP9\xb0xF\xbb\xfb\xc9\x15\x1e^'\x9a\xe9\xf4\xb3*\x9e\xe4N\xb0\x9fxF}\x80\x97e\xd9?\x01\x00\x00\xff\xffjB\xe5G\x9d\x11\x00\x00")