MCPcopy Create free account
hub / github.com/cel-expr/cel-go / registerFiles

Function registerFiles

cel/options.go:494–501  ·  view source on GitHub ↗
(reg protoTypeRegistry, files *protoregistry.Files)

Source from the content-addressed store, hash-verified

492}
493
494func registerFiles(reg protoTypeRegistry, files *protoregistry.Files) error {
495 var err error
496 files.RangeFiles(func(fd protoreflect.FileDescriptor) bool {
497 err = reg.RegisterDescriptor(fd)
498 return err == nil
499 })
500 return err
501}
502
503// JSONFieldNames supports accessing protocol buffer fields by json-name.
504//

Callers 2

TypeDescsFunction · 0.85
registerFileSetFunction · 0.85

Calls 1

RegisterDescriptorMethod · 0.65

Tested by

no test coverage detected